Click or drag to resize

CollisionCollidePolygonAndCircle Method

Compute the collision manifold between a polygon and a circle.

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 void CollidePolygonAndCircle(
	ref Manifold manifold,
	PolygonShape polygonA,
	ref Transform xfA,
	CircleShape circleB,
	ref Transform xfB
)

Parameters

manifold
Type: Internal.tainicom.Aether.Physics2D.CollisionManifold
The manifold.
polygonA
Type: Internal.tainicom.Aether.Physics2D.Collision.ShapesPolygonShape
The polygon A.
xfA
Type: Internal.tainicom.Aether.Physics2D.CommonTransform
The transform of A.
circleB
Type: Internal.tainicom.Aether.Physics2D.Collision.ShapesCircleShape
The circle B.
xfB
Type: Internal.tainicom.Aether.Physics2D.CommonTransform
The transform of B.
See Also