SimpleContactManifold class

Simple manifold class, describes the contact surface between two bodies.

Constructors, destructors, conversion operators

SimpleContactManifold()
SimpleContactManifold(const JPH::ContactManifold& Manifold)

Public variables

Vector3 WorldSpaceNormal
Access to the world space contact positions.
float PenetrationDepth
Penetration depth (move shape 2 by this distance to resolve the collision). If this value is negative, this is a speculative contact point and may not actually result in a velocity change as during solving the bodies may not actually collide.

Variable documentation

Vector3 SimpleContactManifold::WorldSpaceNormal

Access to the world space contact positions.

Normal for this manifold, direction along which to move body 2 out of collision along the shortest path