RigidBodyController::GetPhysicsController
Defined in: C4Physics.h
Returns the physics controller to which a rigid body belongs.
Prototype
PhysicsController *GetPhysicsController(void) const;
Description
The GetPhysicsController function returns the physics controller to which a rigid body belongs. Every rigid body in a world belongs to the same global physics controller. If there is no physics controller in the world, then this function returns nullptr.
See Also
PhysicsController
|