Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
BodyManager.h File Reference

Go to the source code of this file.

Classes

class  BodyManager
 Class that contains all bodies. More...
 
struct  BodyManager::BodyStats
 Helper struct that counts the number of bodies of each type. More...
 
struct  BodyManager::DrawSettings
 Draw settings. More...
 

Typedefs

using BodyVector = Array< Body * >
 Array of bodies.
 
using BodyIDVector = Array< BodyID >
 Array of body ID's.
 

Enumerations

enum class  ESoftBodyConstraintColor { ConstraintType , ConstraintGroup , ConstraintOrder }
 Defines how to color soft body constraints. More...
 

Typedef Documentation

◆ BodyIDVector

Array of body ID's.

◆ BodyVector

using BodyVector = Array<Body *>

Array of bodies.

Enumeration Type Documentation

◆ ESoftBodyConstraintColor

enum class ESoftBodyConstraintColor
strong

Defines how to color soft body constraints.

Enumerator
ConstraintType 
ConstraintGroup 

Draw different types of constraints in different colors.

ConstraintOrder 

Draw constraints in the same group in the same color, non-parallel group will be red.