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

Velocity constraint point. More...

#include <VelocityConstraint.hpp>

Public Attributes

Length2D rA = GetInvalid<decltype(rA)>()
 Position of body A relative to world manifold point. More...
 
Length2D rB = GetInvalid<decltype(rB)>()
 Position of body B relative to world manifold point. More...
 
Momentum normalImpulse = GetInvalid<decltype(normalImpulse)>()
 Normal impulse. More...
 
Momentum tangentImpulse = GetInvalid<decltype(tangentImpulse)>()
 Tangent impulse. More...
 
Mass normalMass = GetInvalid<decltype(normalMass)>()
 Normal mass. More...
 
Mass tangentMass = GetInvalid<decltype(tangentMass)>()
 Tangent mass. More...
 
LinearVelocity velocityBias = GetInvalid<decltype(velocityBias)>()
 Velocity bias. More...
 

Detailed Description

Velocity constraint point.

Note
This structure is at least 36-bytes large.

Member Data Documentation

◆ normalImpulse

Momentum box2d::VelocityConstraint::Point::normalImpulse = GetInvalid<decltype(normalImpulse)>()

Normal impulse.

◆ normalMass

Mass box2d::VelocityConstraint::Point::normalMass = GetInvalid<decltype(normalMass)>()

Normal mass.

Note
0 or greater.
Dependent on rA and rB.

◆ rA

Length2D box2d::VelocityConstraint::Point::rA = GetInvalid<decltype(rA)>()

Position of body A relative to world manifold point.

◆ rB

Length2D box2d::VelocityConstraint::Point::rB = GetInvalid<decltype(rB)>()

Position of body B relative to world manifold point.

◆ tangentImpulse

Momentum box2d::VelocityConstraint::Point::tangentImpulse = GetInvalid<decltype(tangentImpulse)>()

Tangent impulse.

◆ tangentMass

Mass box2d::VelocityConstraint::Point::tangentMass = GetInvalid<decltype(tangentMass)>()

Tangent mass.

Note
0 or greater.
Dependent on rA and rB.

◆ velocityBias

LinearVelocity box2d::VelocityConstraint::Point::velocityBias = GetInvalid<decltype(velocityBias)>()

Velocity bias.

Note
A product of the contact restitution.

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