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

Go to the source code of this file.

Classes

class  BodyCreationSettings
 Settings for constructing a rigid body. More...
 

Enumerations

enum class  EOverrideMassProperties : uint8 { CalculateMassAndInertia , CalculateInertia , MassAndInertiaProvided }
 Enum used in BodyCreationSettings to indicate how mass and inertia should be calculated. More...
 

Enumeration Type Documentation

◆ EOverrideMassProperties

enum class EOverrideMassProperties : uint8
strong

Enum used in BodyCreationSettings to indicate how mass and inertia should be calculated.

Enumerator
CalculateMassAndInertia 

Tells the system to calculate the mass and inertia based on density.

CalculateInertia 

Tells the system to take the mass from mMassPropertiesOverride and to calculate the inertia based on density of the shapes and to scale it to the provided mass.

MassAndInertiaProvided 

Tells the system to take the mass and inertia from mMassPropertiesOverride.