Click or drag to resize

DynamicTreeTMoveProxy Method

Move a proxy with a swepted AABB. If the proxy has moved outside of its fattened AABB, then the proxy is removed from the tree and re-inserted. Otherwise the function returns immediately.

Namespace:  Internal.tainicom.Aether.Physics2D.Collision
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public bool MoveProxy(
	int proxyId,
	ref AABB aabb,
	Vector2 displacement
)

Parameters

proxyId
Type: SystemInt32
The proxy id.
aabb
Type: Internal.tainicom.Aether.Physics2D.CollisionAABB
The aabb.
displacement
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
The displacement.

Return Value

Type: Boolean
true if the proxy was re-inserted.
See Also