PhysicsBodyComponent.ApplyLinearImpulseAtLocalPoint(Vector2, Vector2) Method
Definition
Namespace: Brine2D.ECS.Components
Applies a linear impulse at a local-space point, generating both linear and angular velocity changes. localPoint is in the body's local coordinate frame.
C#
public void ApplyLinearImpulseAtLocalPoint(System.Numerics.Vector2 impulse, System.Numerics.Vector2 localPoint);
Parameters
impulse System.Numerics.Vector2
localPoint System.Numerics.Vector2