enum abstract DebugDrawMode(Int)
package armory.trait.physics.bullet
from Int to Int
import armory.trait.physics.bullet.PhysicsWorld
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
Variables
inlineread onlyDrawAABB:DebugDrawMode = 1 << 1
Draw axis-aligned minimum bounding boxes (AABBs) of the physics collider meshes.
inlineread onlyDrawConstraintLimits:DebugDrawMode = 1 << 12
Draw additional constraint information such as distance or angle limits.
inlineread onlyDrawConstraints:DebugDrawMode = 1 << 11
Draw axis gizmos for important constraint points.
inlineread onlyDrawContactPoints:DebugDrawMode = 1 << 3
Visualize contact points of multiple colliders.
inlineread onlyDrawFrames:DebugDrawMode = 1 << 15
Draw a small axis gizmo at the origin of the collision shape.
Only works if DrawWireframe
is enabled as well.
inlineread onlyDrawNormals:DebugDrawMode = 1 << 14
Draw the normal vectors of the triangles of the physics collider meshes.
This only works for Mesh
collision shapes.
inlineread onlyDrawWireframe:DebugDrawMode = 1
Draw wireframes of the physics collider meshes and suspensions of raycast vehicle simulations.
inlineread onlyNoDeactivation:DebugDrawMode = 1 << 4
Globally disable sleeping/deactivation of dynamic colliders.