SimApi Physics GetPhysicsScene
Jump to navigation
Jump to search
static NxScene* SimApi::Physics::GetPhysicsScene()
Description
Returns a pointer to the current physical scene. If not exists, creates one.
Return
Type: NxScene * Description: A pointer to the current physical scene. If not exists, creates one.
Remarks
Code Sample
NxScene* pTheScene = SimApi::Physics::GetPhysicsScene();
int nbOfActors = pTheScene->getNbActors(); // get the number of actors
See Also
SimApi Physics