Skip to content

PhysicsBodyComponent.TransformPoint(Vector2) Method

Definition

Namespace: Brine2D.ECS.Components

Converts a point from local body space to world space using the body's current live transform. Returns the point unchanged if the body has not yet been created.

public System.Numerics.Vector2 TransformPoint(System.Numerics.Vector2 localPoint);

Parameters

localPoint System.Numerics.Vector2

Returns

System.Numerics.Vector2