RigidBodyController::CalculateWorldPositionVelocity
Defined in:
Returns the velocity of an arbitrary point due to the motion of a rigid body.
C4Physics.h
Prototype
Vector3D CalculateWorldPositionVelocity(const Point3D& position) const;
Parameters
position |
A position in world-space coordinates. |
Description
The CalculateWorldPositionVelocity
function returns the velocity that the point specified by the position
parameter would have if it represented a static position on the surface of a rigid body. The calculated velocity accounts for the linear velocity of the rigid body's center of mass and the additional tangential velocity of the surface point due to the angular velocity of the rigid body. The velocity is returned in world-space coordinates, and it's measured in meters per second (m/s).
See Also