Click or drag to resize

BodyGetWorldVector Method (Vector2)

Get the world coordinates of a vector given the local coordinates. 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 GetWorldVector(
	ref Vector2 localVector
)

Parameters

localVector
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
A vector fixed in the body.

Return Value

Type: Vector2
The same vector expressed in world coordinates.
See Also