Nebula
Loading...
Searching...
No Matches
streamactorpool.cc File Reference
#include "foundation/stdneb.h"
#include "PxConfig.h"
#include "physics/streamactorpool.h"
#include "physics/physxstate.h"
#include "physics/actorcontext.h"
#include "physics/utils.h"
#include "resources/resourceserver.h"
#include "io/streamreader.h"
#include "nflatbuffer/flatbufferinterface.h"
#include "nflatbuffer/nebula_flat.h"
#include "flat/physics/material.h"
#include "flat/physics/actor.h"
#include "coregraphics/nvx3fileformatstructs.h"
#include "coregraphics/primitivegroup.h"
#include "coregraphics/load/glimltypes.h"
#include "coregraphics/indextype.h"

Namespaces

namespace  Physics
 Diverse functions for manipulating physics actors.
 

Functions

 __ImplementClass (Physics::StreamActorPool, 'PSAP', Resources::ResourceLoader)
 
static PxShape * Physics::GetScaledShape (PxShape *shape, Math::vec3 const &scale)
 
static physx::PxGeometryHolder Physics::CreateMeshFromResource (MeshTopology type, Util::StringAtom resource, int primGroup)
 
static PxShape * Physics::CreateColliderShape (physx::PxGeometryHolder geometry, physx::PxMaterial *material, physx::PxTransform const &trans, const Util::String &colliderName, bool exclusive)
 
static void Physics::AddCollider (physx::PxGeometryHolder geometry, IndexT material, const Math::mat4 &trans, const char *name, const Util::String &colliderName, ActorInfo &actorInfo, const Util::StringAtom &tag, Ids::Id32 entry)
 
static void Physics::AddMeshColliders (PhysicsResource::MeshColliderT *colliderNode, Math::mat4 const &nodeTransform, Util::String nodeName, IndexT materialIdx, const Util::StringAtom &tag, Ids::Id32 entry, ActorInfo &targetActor)
 
static void Physics::AddHeightField (PhysicsResource::HeightFieldColliderT *colliderNode, Math::mat4 const &nodeTransform, Util::String nodeName, IndexT materialIdx, const Util::StringAtom &tag, Ids::Id32 entry, ActorInfo &targetActor)
 

Variables

StreamActorPoolPhysics::actorPool = nullptr
 

Function Documentation

◆ __ImplementClass()

__ImplementClass ( Physics::StreamActorPool ,
'PSAP' ,
Resources::ResourceLoader  )