Console commands
stat Chaos
p.Chaos.DebugDraw.Enabled 1
- Must be called so other commands work
p.Chaos.Solver.DebugDrawShapes 1
(engine will callFPBDRigidsSolver::DebugDrawShapes
each frame)- Red: Not simulated, Static
- Blue: Not simulated, Movable
- Yellow: Simulated (Active)
- Gray: Simulated (Sleeping)
For more debug draw methods, see ChaosDebugDraw.cpp
file
Draw
Chaos has a special helper for drawing, which is thread safe (under the hood it uses the global draw helpers functions, see DebugDrawChaosCommand
).
See Chaos::FDebugDrawQueue
and UChaosDebugDrawComponent
.
Example: Chaos::FDebugDrawQueue::GetInstance().DrawDebugSphere(ParticlePoint, 4, 32, FColor::Yellow);