Click or drag to resize

ContactSolverWorldManifoldInitialize Method

Evaluate the manifold with supplied transforms. This assumes modest motion from the original state. This does not change the point count, impulses, etc. The radii must come from the Shapes that generated the manifold.

Namespace:  Internal.tainicom.Aether.Physics2D.Dynamics.Contacts
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static void Initialize(
	ref Manifold manifold,
	ref Transform xfA,
	float radiusA,
	ref Transform xfB,
	float radiusB,
	out Vector2 normal,
	out FixedArray2<Vector2> points
)

Parameters

manifold
Type: Internal.tainicom.Aether.Physics2D.CollisionManifold
The manifold.
xfA
Type: Internal.tainicom.Aether.Physics2D.CommonTransform
The transform for A.
radiusA
Type: SystemSingle
The radius for A.
xfB
Type: Internal.tainicom.Aether.Physics2D.CommonTransform
The transform for B.
radiusB
Type: SystemSingle
The radius for B.
normal
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
World vector pointing from A to B
points
Type: Internal.tainicom.Aether.Physics2D.CommonFixedArray2Vector2
Torld contact point (point of intersection).
See Also