This method of the Direct3dRMFrame Class retrieves the velocity of the frame, relative to the given reference frame.
public void getVelocity(Direct3dRMFrame ref, D3dVector vel, int rotation);
ref | The Direct3dRMFrame object to be used as the reference. |
vel | A D3dVector object that receives the frame's velocity. |
rotation | A flag specifying whether the rotational velocity of the object is taken into account when retrieving the linear velocity. If this parameter is true, the object's rotational velocity is included in the calculation. |