class BodyController
Defined in:
The C4Body.h
BodyController
class manages a body controlled by the physics simulation.
Definition
class BodyController : public Controller, public Body
Member Functions
BodyController::GetPhysicsController |
Returns the physics controller to which a body belongs. |
BodyController::GetGravityMultiplier |
Returns the gravity multiplier for a body. |
BodyController::SetGravityMultiplier |
Sets the gravity multiplier for a body. |
BodyController::GetFluidDragMultiplier |
Returns the fluid drag multiplier for a body. |
BodyController::SetFluidDragMultiplier |
Sets the fluid drag multiplier for a body. |
BodyController::GetWindDragMultiplier |
Returns the wind drag multiplier for a body. |
BodyController::SetWindDragMultiplier |
Sets the wind drag multiplier for a body. |
Constructor
BodyController(ControllerType type, BodyType body);
Parameters
type |
The specific controller type of the subclass. |
body |
The type of physical body managed by the controller. |
Description
The BodyController
class is the base class for all physical bodies that are under the control of the Physics Manager.
Base Classes
Controller |
A BodyController is a specific type of controller.
|
Body |
Used internally by the Physics Manager. |
See Also