# IRdPhysImpulseDisp Interface Reference

Inherits IDispatch.

List of all members.

## Public Member Functions
HRESULT | Navigation ([in] VARIANT direction,[in] RtFloat magnitude,[in] VARIANT updir,[in] RtFloat rotation)
HRESULT | Impulse ([in] VARIANT imp,[in] VARIANT torque)

## Detailed Description

IRdPhysImpulseDisp provides access to physical impulses data object. It is script version of the IRdPhysImpulse interface.

## Member Function Documentation

HRESULT IRdPhysImpulseDisp::Navigation | ( | [in] VARIANT | direction,
|  | [in] RtFloat | magnitude,
|  | [in] VARIANT | updir,
|  | [in] RtFloat | rotation |
| ) |  |  |

Set navigation impulse.

Parameters:

  | direction | [in] Direction of impulse {normalized vector).
  | magnitude | [in] Size of impulse.
  | updir | [in] Axis of rotation.
  | rotation | [in] Size of rotation.

HRESULT IRdPhysImpulseDisp::Impulse | ( | [in] VARIANT | imp,
|  | [in] VARIANT | torque |
| ) |  |  |

Set impulse.

Parameters:

  | imp | [in] Vector of impulse.
  | torque | [in] Vector of torque.