RigidBodyWrapper.applyImpulse() method

Apply an impulse to the rigidbody. The impulse is applied at the center of mass by default unless a relative point is provided

Signature:

applyImpulse(impulse: Partial<XYZ>, relativePoint?: XYZ): void;

Parameters

ParameterTypeDescription
impulsePartial<XYZ>
relativePointXYZ(Optional)

Returns:

void