cf_physics_world_def3¶
Category: physics
GitHub: cute_physics.h
Returns a b3WorldDef wired for CF's debug drawing.
Remarks¶
Same as b3DefaultWorldDef plus CF's debug-shape callbacks: Box3D bakes each
shape into a drawable once via world-creation-time callbacks, so a world you
want cf_physics_draw3 to render shapes for must be created from this def.
Everything else about the def is untouched -- set gravity and friends as usual.
Related Pages¶
cf_physics_draw3
cf_physics_debug_draw3_defaults
cf_physics_step3