Click or drag to resize

BodyGetLocalVector Method (Vector2)

Gets a local vector given a world vector. Note that the vector only takes the rotation into account, not the position.

Namespace:  Internal.tainicom.Aether.Physics2D.Dynamics
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public Vector2 GetLocalVector(
	ref Vector2 worldVector
)

Parameters

worldVector
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
A vector in world coordinates.

Return Value

Type: Vector2
The corresponding local vector.
See Also