PhysicsBodyComponent.TransformDirection(Vector2) Method
Definition¶
Namespace: Brine2D.ECS.Components
Converts a direction vector from local body space to world space (rotation only, no translation). Returns the vector unchanged if the body has not yet been created.
public System.Numerics.Vector2 TransformDirection(System.Numerics.Vector2 localDirection);
Parameters¶
localDirection System.Numerics.Vector2