anyKode Marilou
|
Apply a force and a torque vector to the geometry.
bool SetForceAndTorque(MODAVECTOR3 & ForcePosition, bool bRelativePosition, MODAVECTOR3 & ForceAxisAndLength, bool bRelativeForceAxis, MODAVECTOR3 & TorqueAxisAndLength, bool bRelativeTorqueAxis, MU32 DurationMS = INFINITE);
Parameters |
Description |
MODAVECTOR3 & ForcePosition |
[in] Force vector origin. |
bool bRelativePosition |
[in] true if the force vector origin is relative to the geometry, false if absolute. |
MODAVECTOR3 & ForceAxisAndLength |
[in] Force vector (direction * intensity). |
bool bRelativeForceAxis |
[in] true if the force vector is relative to the geometry, false if absolute. |
MODAVECTOR3 & TorqueAxisAndLength |
[in] Torque to be applied on each geometry axis. |
bool bRelativeTorqueAxis |
[in] true if the vector is relative to the geometry, false if absolute. |
MU32 DurationMS = INFINITE |
[in] Vector life time in ms. After the time life, the vector is canceled. |
true if the command was sent, false otherwise.
v4.7.24
Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
|
What do you think about this topic? Send feedback!
|