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

A constraint and how it is connected to the bodies in the scene. More...

#include <PhysicsScene.h>

Public Member Functions

 ConnectedConstraint ()=default
 
 ConnectedConstraint (const TwoBodyConstraintSettings *inSettings, uint inBody1, uint inBody2)
 

Public Attributes

RefConst< TwoBodyConstraintSettingsmSettings
 Constraint settings.
 
uint32 mBody1
 Index of first body (in mBodies)
 
uint32 mBody2
 Index of second body (in mBodies)
 

Detailed Description

A constraint and how it is connected to the bodies in the scene.

Constructor & Destructor Documentation

◆ ConnectedConstraint() [1/2]

PhysicsScene::ConnectedConstraint::ConnectedConstraint ( )
default

◆ ConnectedConstraint() [2/2]

PhysicsScene::ConnectedConstraint::ConnectedConstraint ( const TwoBodyConstraintSettings inSettings,
uint  inBody1,
uint  inBody2 
)
inline

Member Data Documentation

◆ mBody1

uint32 PhysicsScene::ConnectedConstraint::mBody1

Index of first body (in mBodies)

◆ mBody2

uint32 PhysicsScene::ConnectedConstraint::mBody2

Index of second body (in mBodies)

◆ mSettings

RefConst<TwoBodyConstraintSettings> PhysicsScene::ConnectedConstraint::mSettings

Constraint settings.


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