Click or drag to resize

CollisionTestOverlap Method

Test overlap between the two shapes.

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 static bool TestOverlap(
	Shape shapeA,
	int indexA,
	Shape shapeB,
	int indexB,
	ref Transform xfA,
	ref Transform xfB
)

Parameters

shapeA
Type: Internal.tainicom.Aether.Physics2D.Collision.ShapesShape
The first shape.
indexA
Type: SystemInt32
The index for the first shape.
shapeB
Type: Internal.tainicom.Aether.Physics2D.Collision.ShapesShape
The second shape.
indexB
Type: SystemInt32
The index for the second shape.
xfA
Type: Internal.tainicom.Aether.Physics2D.CommonTransform
The transform for the first shape.
xfB
Type: Internal.tainicom.Aether.Physics2D.CommonTransform
The transform for the seconds shape.

Return Value

Type: Boolean
See Also