Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
RagdollSettings::AdditionalConstraint Class Reference

A constraint that connects two bodies in a ragdoll (for non parent child related constraints) More...

#include <Ragdoll.h>

Public Member Functions

 AdditionalConstraint ()=default
 Constructors.
 
 AdditionalConstraint (int inBodyIdx1, int inBodyIdx2, TwoBodyConstraintSettings *inConstraint)
 

Public Attributes

int mBodyIdx [2]
 Indices of the bodies that this constraint connects.
 
Ref< TwoBodyConstraintSettingsmConstraint
 The constraint that connects these bodies.
 

Detailed Description

A constraint that connects two bodies in a ragdoll (for non parent child related constraints)

Constructor & Destructor Documentation

◆ AdditionalConstraint() [1/2]

RagdollSettings::AdditionalConstraint::AdditionalConstraint ( )
default

Constructors.

◆ AdditionalConstraint() [2/2]

RagdollSettings::AdditionalConstraint::AdditionalConstraint ( int  inBodyIdx1,
int  inBodyIdx2,
TwoBodyConstraintSettings inConstraint 
)
inline

Member Data Documentation

◆ mBodyIdx

int RagdollSettings::AdditionalConstraint::mBodyIdx[2]

Indices of the bodies that this constraint connects.

◆ mConstraint

Ref<TwoBodyConstraintSettings> RagdollSettings::AdditionalConstraint::mConstraint

The constraint that connects these bodies.


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