Box2D  3.0.0
A Real-Time-Oriented 2-D Physics Engine
Public Attributes | List of all members
box2d::PositionSolverManifold Struct Reference

Position solver manifold. More...

#include <PositionSolverManifold.hpp>

Public Attributes

UnitVec2 m_normal
 Normal. More...
 
Length2D m_point
 Point. More...
 
Length m_separation
 Separation. More...
 

Detailed Description

Position solver manifold.

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

Note
This data structure is 20-bytes large.

Member Data Documentation

◆ m_normal

UnitVec2 box2d::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.

Note
This field is 8-bytes large.

◆ m_point

Length2D box2d::PositionSolverManifold::m_point

Point.

Point at which position resolution should be relatively applied.

Note
This field is 8-bytes large.

◆ m_separation

Length box2d::PositionSolverManifold::m_separation

Separation.

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

Note
This field is 4-bytes large.

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