BodyController::GetPhysicsController
Defined in:
Returns the physics controller to which a body belongs.
C4Body.h
Prototype
PhysicsController *GetPhysicsController(void) const;
Description
The GetPhysicsController
function returns the physics controller to which a body belongs. Every 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