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.
Parameters
localDirection System.Numerics.Vector2