![]() |
Jolt Physics
A multi core friendly Game Physics Engine
|
#include <BodyManager.h>
Public Attributes | |
| bool | mDrawGetSupportFunction = false |
| Draw the GetSupport() function, used for convex collision detection. | |
| bool | mDrawSupportDirection = false |
| When drawing the support function, also draw which direction mapped to a specific support point. | |
| bool | mDrawGetSupportingFace = false |
| Draw the faces that were found colliding during collision detection. | |
| bool | mDrawShape = true |
| Draw the shapes of all bodies. | |
| bool | mDrawShapeWireframe = false |
| When mDrawShape is true and this is true, the shapes will be drawn in wireframe instead of solid. | |
| EShapeColor | mDrawShapeColor = EShapeColor::MotionTypeColor |
| Coloring scheme to use for shapes. | |
| bool | mDrawBoundingBox = false |
| Draw a bounding box per body. | |
| bool | mDrawCenterOfMassTransform = false |
| Draw the center of mass for each body. | |
| bool | mDrawWorldTransform = false |
| Draw the world transform (which can be different than the center of mass) for each body. | |
| bool | mDrawVelocity = false |
| Draw the velocity vector for each body. | |
| bool | mDrawMassAndInertia = false |
| Draw the mass and inertia (as the box equivalent) for each body. | |
| bool | mDrawSleepStats = false |
| Draw stats regarding the sleeping algorithm of each body. | |
| bool | mDrawSoftBodyVertices = false |
| Draw the vertices of soft bodies. | |
| bool | mDrawSoftBodyVertexVelocities = false |
| Draw the velocities of the vertices of soft bodies. | |
| bool | mDrawSoftBodyEdgeConstraints = false |
| Draw the edge constraints of soft bodies. | |
| bool | mDrawSoftBodyBendConstraints = false |
| Draw the bend constraints of soft bodies. | |
| bool | mDrawSoftBodyVolumeConstraints = false |
| Draw the volume constraints of soft bodies. | |
| bool | mDrawSoftBodySkinConstraints = false |
| Draw the skin constraints of soft bodies. | |
| bool | mDrawSoftBodyLRAConstraints = false |
| Draw the LRA constraints of soft bodies. | |
| bool | mDrawSoftBodyRods = false |
| Draw the rods of soft bodies. | |
| bool | mDrawSoftBodyRodStates = false |
| Draw the rod states (orientation and angular velocity) of soft bodies. | |
| bool | mDrawSoftBodyRodBendTwistConstraints = false |
| Draw the rod bend twist constraints of soft bodies. | |
| bool | mDrawSoftBodyPredictedBounds = false |
| Draw the predicted bounds of soft bodies. | |
| ESoftBodyConstraintColor | mDrawSoftBodyConstraintColor = ESoftBodyConstraintColor::ConstraintType |
| Coloring scheme to use for soft body constraints. | |
Draw settings
Note that there are several debug drawing features that are not exposed through this interface since they use information that is only available deep inside the simulation update and are mostly there to facilitate debugging Jolt. These options use DebugRenderer::sInstance to draw.
E.g.:
| bool BodyManager::DrawSettings::mDrawBoundingBox = false |
Draw a bounding box per body.
| bool BodyManager::DrawSettings::mDrawCenterOfMassTransform = false |
Draw the center of mass for each body.
| bool BodyManager::DrawSettings::mDrawGetSupportFunction = false |
Draw the GetSupport() function, used for convex collision detection.
| bool BodyManager::DrawSettings::mDrawGetSupportingFace = false |
Draw the faces that were found colliding during collision detection.
| bool BodyManager::DrawSettings::mDrawMassAndInertia = false |
Draw the mass and inertia (as the box equivalent) for each body.
| bool BodyManager::DrawSettings::mDrawShape = true |
Draw the shapes of all bodies.
| EShapeColor BodyManager::DrawSettings::mDrawShapeColor = EShapeColor::MotionTypeColor |
Coloring scheme to use for shapes.
| bool BodyManager::DrawSettings::mDrawShapeWireframe = false |
When mDrawShape is true and this is true, the shapes will be drawn in wireframe instead of solid.
| bool BodyManager::DrawSettings::mDrawSleepStats = false |
Draw stats regarding the sleeping algorithm of each body.
| bool BodyManager::DrawSettings::mDrawSoftBodyBendConstraints = false |
Draw the bend constraints of soft bodies.
| ESoftBodyConstraintColor BodyManager::DrawSettings::mDrawSoftBodyConstraintColor = ESoftBodyConstraintColor::ConstraintType |
Coloring scheme to use for soft body constraints.
| bool BodyManager::DrawSettings::mDrawSoftBodyEdgeConstraints = false |
Draw the edge constraints of soft bodies.
| bool BodyManager::DrawSettings::mDrawSoftBodyLRAConstraints = false |
Draw the LRA constraints of soft bodies.
| bool BodyManager::DrawSettings::mDrawSoftBodyPredictedBounds = false |
Draw the predicted bounds of soft bodies.
| bool BodyManager::DrawSettings::mDrawSoftBodyRodBendTwistConstraints = false |
Draw the rod bend twist constraints of soft bodies.
| bool BodyManager::DrawSettings::mDrawSoftBodyRods = false |
Draw the rods of soft bodies.
| bool BodyManager::DrawSettings::mDrawSoftBodyRodStates = false |
Draw the rod states (orientation and angular velocity) of soft bodies.
| bool BodyManager::DrawSettings::mDrawSoftBodySkinConstraints = false |
Draw the skin constraints of soft bodies.
| bool BodyManager::DrawSettings::mDrawSoftBodyVertexVelocities = false |
Draw the velocities of the vertices of soft bodies.
| bool BodyManager::DrawSettings::mDrawSoftBodyVertices = false |
Draw the vertices of soft bodies.
| bool BodyManager::DrawSettings::mDrawSoftBodyVolumeConstraints = false |
Draw the volume constraints of soft bodies.
| bool BodyManager::DrawSettings::mDrawSupportDirection = false |
When drawing the support function, also draw which direction mapped to a specific support point.
| bool BodyManager::DrawSettings::mDrawVelocity = false |
Draw the velocity vector for each body.
| bool BodyManager::DrawSettings::mDrawWorldTransform = false |
Draw the world transform (which can be different than the center of mass) for each body.