Click or drag to resize

BodyLocalCenter Property

Get the local position of the center of mass. Warning: This property is readonly during callbacks.

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 LocalCenter { get; set; }

Property Value

Type: Vector2
The local position.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when the world is Locked/Stepping.
See Also