Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
ConcreteContactConstraintPart Class Reference

Concrete contact constraint part that dispatches to the correct templated form based on the motion types of the bodies. More...

#include <ContactConstraintPart.h>

Public Member Functions

 ConcreteContactConstraintPart ()
 Constructor / destructor.
 
 ~ConcreteContactConstraintPart ()=default
 
bool SolveVelocityConstraint (Body &inBody1, float inInvMass1, float inInvInertiaScale1, Vec3Arg inR1PlusU, Body &inBody2, float inInvMass2, float inInvInertiaScale2, Vec3Arg inR2, Vec3Arg inWorldSpaceAxis, float inBias, float inMinLambda, float inMaxLambda)
 
float GetTotalLambda () const
 

Detailed Description

Concrete contact constraint part that dispatches to the correct templated form based on the motion types of the bodies.

Constructor & Destructor Documentation

◆ ConcreteContactConstraintPart()

ConcreteContactConstraintPart::ConcreteContactConstraintPart ( )
inline

Constructor / destructor.

◆ ~ConcreteContactConstraintPart()

ConcreteContactConstraintPart::~ConcreteContactConstraintPart ( )
default

Member Function Documentation

◆ GetTotalLambda()

float ConcreteContactConstraintPart::GetTotalLambda ( ) const
inline

◆ SolveVelocityConstraint()

bool ConcreteContactConstraintPart::SolveVelocityConstraint ( Body & inBody1,
float inInvMass1,
float inInvInertiaScale1,
Vec3Arg inR1PlusU,
Body & inBody2,
float inInvMass2,
float inInvInertiaScale2,
Vec3Arg inR2,
Vec3Arg inWorldSpaceAxis,
float inBias,
float inMinLambda,
float inMaxLambda )
inline

Member Data Documentation

◆ mDD

ContactConstraintPart<EMotionType::Dynamic, EMotionType::Dynamic> ConcreteContactConstraintPart::mDD

◆ mDK

◆ mDS

ContactConstraintPart<EMotionType::Dynamic, EMotionType::Static> ConcreteContactConstraintPart::mDS

◆ mKD

◆ mSD

ContactConstraintPart<EMotionType::Static, EMotionType::Dynamic> ConcreteContactConstraintPart::mSD

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