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
Parameter |
Type |
Description |
---|---|---|
impulse |
Partial<XYZ> | |
relativePoint |
XYZ |
(Optional) |
void