Skip to content

Physics.DebugDraw

Name Mandatory Description Default Type
⬅️ Input The input of the shard, if any Any
Output ➡️ The resulting output of the shard Any
Context No The context none Var(Physics.Context)
DrawConstraints No Draw constraints true BoolVar(Bool)
DrawConstraintLimits No Draw constraint limits false BoolVar(Bool)
DrawConstraintReferenceFrames No Draw constraint reference frames false BoolVar(Bool)
DrawBodies No Draw bodies true BoolVar(Bool)
DrawBodyGetSupportFunction No Draw the GetSupport() function, used for convex collision detection false BoolVar(Bool)
DrawBodySupportDirection No When drawing the support function, also draw which direction mapped to a specific support point false BoolVar(Bool)
DrawBodyGetSupportingFace No Draw the faces that were found colliding during collision detection false BoolVar(Bool)
DrawBodyShape No Draw the shapes of all bodies true BoolVar(Bool)
DrawBodyShapeWireframe No When mDrawShape is true and this is true, the shapes will be drawn in wireframe instead of solid. false BoolVar(Bool)
DrawBodyShapeColor No Coloring scheme to use for shapes PhysicsDebugShapeColor::MotionTypeColor PhysicsDebugShapeColorVar(PhysicsDebugShapeColor)
DrawBodyBoundingBox No Draw a bounding box per body false BoolVar(Bool)
DrawBodyCenterOfMassTransform No Draw the center of mass for each body false BoolVar(Bool)
DrawBodyWorldTransform No Draw the world transform (which can be different than the center of mass) for each body false BoolVar(Bool)
DrawBodyVelocity No Draw the velocity vector for each body false BoolVar(Bool)
DrawBodyMassAndInertia No Draw the mass and inertia (as the box equivalent) for each body false BoolVar(Bool)
DrawBodySleepStats No Draw stats regarding the sleeping algorithm of each body false BoolVar(Bool)
DrawSoftBodyVertices No Draw the vertices of soft bodies false BoolVar(Bool)
DrawSoftBodyVertexVelocities No Draw the velocities of the vertices of soft bodies false BoolVar(Bool)
DrawSoftBodyEdgeConstraints No Draw the edge constraints of soft bodies false BoolVar(Bool)
DrawSoftBodyBendConstraints No Draw the bend constraints of soft bodies false BoolVar(Bool)
DrawSoftBodyVolumeConstraints No Draw the volume constraints of soft bodies false BoolVar(Bool)
DrawSoftBodySkinConstraints No Draw the skin constraints of soft bodies false BoolVar(Bool)
DrawSoftBodyLRAConstraints No Draw the LRA constraints of soft bodies false BoolVar(Bool)
DrawSoftBodyPredictedBounds No Draw the predicted bounds of soft bodies false BoolVar(Bool)
DrawSoftBodyConstraintColor No Coloring scheme to use for soft body constraints PhysicsDebugSoftBodyConstraintColor::ConstraintType PhysicsDebugSoftBodyConstraintColorVar(PhysicsDebugSoftBodyConstraintColor)