Table of Contents

Class ContactSolver.WorldManifold

Namespace
Alis.Core.Physic.Dynamics.Contacts
Assembly
Alis.dll

The world manifold class

public static class ContactSolver.WorldManifold

Inheritance

Inherited Members

Methods

Initialize(ref Manifold, ref Transform, float, ref Transform, float, out Vector2, out FixedArray2<Vector2>)

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.

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 Manifold

The manifold.

xfA Transform

The transform for A.

radiusA float

The radius for A.

xfB Transform

The transform for B.

radiusB float

The radius for B.

normal Vector2

World vector pointing from A to B

points FixedArray2<Vector2>

Torld contact point (point of intersection).