C4 Engine
C4 Engine API Documentation

RigidBodyController::CalculateWorldPositionVelocity

Defined in:  C4Physics.h
Returns the velocity of an arbitrary point due to the motion of a rigid body.
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

RigidBodyController::GetLinearVelocity

RigidBodyController::GetAngularVelocity