Click or drag to resize

BodySetTransformIgnoreContacts Method

For teleporting a body without considering new contacts immediately. Warning: This method is locked 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 void SetTransformIgnoreContacts(
	ref Vector2 position,
	float angle
)

Parameters

position
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
The position.
angle
Type: SystemSingle
The angle.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when the world is Locked/Stepping.
See Also