Controller::SetControllerFlags
Defined in:
Sets the controller flags.
C4Controller.h
Prototype
void GetControllerFlags(uint32 flags);
Parameters
flags |
The new controller flags. |
Description
The SetControllerFlags
function sets the controller flags to the value specified by the flags
parameter, which can be a combination (through logical OR) of the following constants.
kControllerUpdate |
The controller needs to be updated (read-only flag). |
kControllerAsleep |
The controller is asleep, and thus its MoveController function is not called (read-only flag).
|
kControllerLocal |
The controller operates autonomously and does receive messages from remote machines. |
kControllerMoveInhibit |
The controller's MoveController function is never called, even if the controller is awake.
|
kControllerPhysicsSimulation |
The controller is a global physics simulation controller. This should be set only by a Controller subclass that acts as the main interface between the engine and a physics library, and it indicates to the World Manager that the controller should be given special treatment as the sole physics controller in a world.
|
See Also