RigidBodyWrapper.addForce() method
Add a force to the rigidbody. The force is applied at the center of mass by default unless a relative point is provided
Signature:
addForce(force: Partial<XYZ>, relativePoint?: XYZ): void;
Parameters
Parameter | Type | Description |
---|---|---|
force | Partial<XYZ> | |
relativePoint | XYZ | (Optional) |
Returns:
void