AmmoDebugRenderer Op

AmmoDebugRenderer

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.


Full Name
  • Ops.Extension.AmmoPhysics.AmmoDebugRenderer
Visibility
  •  Extension Op - Visible to all users
License
  • MIT
AuthorgithubMaintained by TeamTest Patches


INPUT PORTS


Render (Trigger)

Options

Draw Wireframe (Number: boolean)

Exact geometry wireframe of your collision mesh (cpu intensive)

Draw AABB (Number: boolean)

simplified view of your physics objects as cubes

Draw Contact Points (Number: boolean)

show collision locations

Draw Constraints (Number: boolean)

Options

Depth (Number: boolean)

toggle seethrough

Active (Number: boolean)

OUTPUT PORTS


Next (Trigger)

Patches using AmmoDebugRenderer

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2022-03-31 10:52
Ops.User.pandur.AmmoDebugRenderer renamed to Ops.Dev.AmmoDebugRendereruser avatarpandur - 2022-03-31 13:03
added core lib: ammodebugdraweruser avatarpandur - 2022-04-01 14:07
Ops.Dev.AmmoDebugRenderer renamed to Ops.Physics.Ammo.AmmoDebugRendereruser avatarpandur - 2022-05-09 11:51
renameOps.Physics.Ammo.AmmoDebugRenderer renamed to Ops.Extension.AmmoPhysics.AmmoDebugRendereruser avatarpandur - 2023-09-14 09:39