PhysicsBodyComponent.GetVelocityAtPoint(Vector2) Method
Definition
Namespace: Brine2D.ECS.Components
Returns the velocity of this body at a given world-space point, accounting for both linear and angular velocity. Useful for computing impact speed at a contact point. Returns System.Numerics.Vector2.Zero if the body is not live.
Parameters
worldPoint System.Numerics.Vector2
The point in world \(pixel\) coordinates.