Game Development Reference
In-Depth Information
Displaying the physics world
So far, we've been using physics but never actually displayed any physics representation
within the sandbox. To know whether our agent has been set up properly, though, we need
to make sure that the soldier's mesh and agent's height line up. We can enable drawing a
debug representation of the physics world within the sandbox in order to understand rep-
resentations of our physics objects.
Tip
Drawing the physics world can be expensive, as it requires continuous updates and should
not be enabled by default.
Search WWH ::




Custom Search