Debug flags for Bullet physics, despite the name not solely related to debug drawing. You can combine multiple flags with bitwise operations.

Taken from Bullet's btIDebugDraw::DebugDrawModes enum. Please note that the descriptions of the individual flags are a result of inspecting the Bullet sources and thus might contain inaccuracies.

See also:

Static methods

@:op(A & B)staticinlinebitwiseAND(this:Int, other:DebugDrawMode):DebugDrawMode

@:op(~A)staticinlinebitwiseNegate(this:Int):DebugDrawMode

@:op(A | B)staticinlinebitwiseOR(this:Int, other:DebugDrawMode):DebugDrawMode

Variables

@:value(cast 1 << 9)@:impl@:enuminlineread onlyDisableBulletLCP:DebugDrawMode = 1 << 9

Not used in Armory.

@:value(cast 1 << 1)@:impl@:enuminlineread onlyDrawAABB:DebugDrawMode = 1 << 1

Draw axis-aligned minimum bounding boxes (AABBs) of the physics collider meshes.

@:value(cast 1 << 12)@:impl@:enuminlineread onlyDrawConstraintLimits:DebugDrawMode = 1 << 12

Draw additional constraint information such as distance or angle limits.

@:value(cast 1 << 11)@:impl@:enuminlineread onlyDrawConstraints:DebugDrawMode = 1 << 11

Draw axis gizmos for important constraint points.

@:value(cast 1 << 3)@:impl@:enuminlineread onlyDrawContactPoints:DebugDrawMode = 1 << 3

Visualize contact points of multiple colliders.

@:value(cast 1 << 2)@:impl@:enuminlineread onlyDrawFeaturesText:DebugDrawMode = 1 << 2

Not used in Armory.

@:value(cast 1 << 15)@:impl@:enuminlineread onlyDrawFrames:DebugDrawMode = 1 << 15

Draw a small axis gizmo at the origin of the collision shape. Only works if DrawWireframe is enabled as well.

@:value(cast 1 << 14)@:impl@:enuminlineread onlyDrawNormals:DebugDrawMode = 1 << 14

Draw the normal vectors of the triangles of the physics collider meshes. This only works for Mesh collision shapes.

@:value(cast 1 << 6)@:impl@:enuminlineread onlyDrawText:DebugDrawMode = 1 << 6

Not used in Armory.

@:value(cast 1)@:impl@:enuminlineread onlyDrawWireframe:DebugDrawMode = 1

Draw wireframes of the physics collider meshes and suspensions of raycast vehicle simulations.

@:value(cast 1 << 10)@:impl@:enuminlineread onlyEnableCCD:DebugDrawMode = 1 << 10

Not used in Armory.

@:value(cast 1 << 8)@:impl@:enuminlineread onlyEnableSatComparison:DebugDrawMode = 1 << 8

Not used in Armory.

@:value(cast 1 << 13)@:impl@:enuminlineread onlyFastWireframe:DebugDrawMode = 1 << 13

Not used in Armory.

@:value(cast 1 << 4)@:impl@:enuminlineread onlyNoDeactivation:DebugDrawMode = 1 << 4

Globally disable sleeping/deactivation of dynamic colliders.

@:value(cast 0)@:impl@:enuminlineread onlyNoDebug:DebugDrawMode = 0

All debug flags off.

@:value(cast 1 << 5)@:impl@:enuminlineread onlyNoHelpText:DebugDrawMode = 1 << 5

Not used in Armory.

@:value(cast 1 << 7)@:impl@:enuminlineread onlyProfileTimings:DebugDrawMode = 1 << 7

Not used in Armory.