PhysicsController::WakeFieldRigidBodies
Defined in:
Wakes all rigid bodies affected by a force field.
C4Physics.h
Prototype
void WakeFieldRigidBodies(const Field *field);
Parameters
field |
The field node for which rigid bodies are awakened. |
Description
The WakeFieldRigidBodies
function searches for all rigid bodies that would be affected by the force field specified by the field
parameter and awakens any that are currently asleep. For each rigid body that is awakened, all bodies reachable from that rigid body in the contact graph are also awakened recursively.
See Also