UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

70 lines (33 loc) 933 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [RigidBody](./server.rigidbody.md) &gt; [applyImpulseAtPoint](./server.rigidbody.applyimpulseatpoint.md) ## RigidBody.applyImpulseAtPoint() method Applies an impulse to the rigid body at a point. **Signature:** ```typescript applyImpulseAtPoint(impulse: Vector3Like, point: Vector3Like): void; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> impulse </td><td> [Vector3Like](./server.vector3like.md) </td><td> The impulse to apply to the rigid body. </td></tr> <tr><td> point </td><td> [Vector3Like](./server.vector3like.md) </td><td> The point at which to apply the impulse. </td></tr> </tbody></table> **Returns:** void