beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

AmmoDebugRenderer Op

Ops.Physics.Ammo.AmmoDebugRenderer


AmmoDebugRenderer
Namespace: Ops.Physics.Ammo

Op author: pandur

Test Patches: 1 Test

Visualize the physical bodies as lines and points


This handy operator will let you debug your physics simulation and hitboxes/meshes. One great use case is to check that your GLTF scene hitboxes are in the correct locations or to find the best setting for a convex hull triangle simplification parameter.

It is handy to use this operator in a setup where you can toggle the debug view or hide it since the wireframe rendering can become quite CPU intensive. You may also simply uncheck the Wireframe rendering view and use the AABB mode instead.

tip:
when using different camera settings, field of view, view scaling - make sure to place the debug renderer after the camera - so your graphics and physics debug rendering match correctly.



Inputs

Render (Trigger)

Options

Draw Wireframe (boolean /Number)

Exact geometry wireframe of your collision mesh (cpu intensive)

Draw AABB (boolean /Number)

simplified view of your physics objects as cubes

Draw Contact Points (boolean /Number)

show collision locations

Depth (boolean /Number)

toggle seethrough

Active (boolean /Number)

Outputs

Next (Trigger)
Caught a mistake or want to contribute to the documentation?

Edit Documentation 

cables room character controller example

Open Example In Editor

Patches using AmmoDebugRenderer

Changelog


created op
2022-03-31 - pandur
Ops.User.pandur.AmmoDebugRenderer renamed to Ops.Dev.AmmoDebugRenderer
2022-03-31 - pandur
added core lib: ammodebugdrawer
2022-04-01 - pandur
Ops.Dev.AmmoDebugRenderer renamed to Ops.Physics.Ammo.AmmoDebugRenderer
2022-05-09 - pandur