RigidBody2DApplyLinearImpulse Method (Vector2, Vector2) |
Apply an impulse at a point. This immediately modifies the velocity. It also modifies the angular velocity if the point of application
is not at the center of mass. This wakes up the body.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public void ApplyLinearImpulse(
Vector2 impulse,
Vector2 point
)
Parameters
- impulse
- Type: NeoAxisVector2
The world impulse vector, usually in N-seconds or kg-m/s. - point
- Type: NeoAxisVector2
The world position of the point of application.
See Also