C4 Engine
C4 Engine API Documentation

BodyController::GetPhysicsController

Defined in:  C4Body.h
Returns the physics controller to which a body belongs.
Prototype

PhysicsController *GetPhysicsController(voidconst;

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

PhysicsController