PlayRho  2.0.0
An interactive physics engine & library.
playrho ::d2::PositionSolverManifold Struct Reference

#include <playrho/d2/PositionSolverManifold.hpp>

Public Attributes

UnitVec m_normal
 
Length2 m_point {}
 
Length m_separation {}
 

Detailed Description

Position solver manifold.

This is a normal-point-separation composition of data for position constraint resolution.

Member Data Documentation

◆ m_normal

UnitVec playrho ::d2::PositionSolverManifold::m_normal

Normal.

Normal of the contact between two points. This is the axis upon which impulses should be applied to resolve the negative separations of overlapping shapes.

◆ m_point

Length2 playrho ::d2::PositionSolverManifold::m_point {}

Point.

Point at which position resolution should be relatively applied.

◆ m_separation

Length playrho ::d2::PositionSolverManifold::m_separation {}

Separation.

Separation between two points (i.e. penetration if negative).


The documentation for this struct was generated from the following file: