# The debug drawer of colliders for Ammo.js using Babylon.js and JavaScript

**URL:** <https://forum.babylonjs.com/t/the-debug-drawer-of-colliders-for-ammo-js-using-babylon-js-and-javascript/42462>\
**Category:** Demos and projects\
**Created:** [July 15, 2023, 12:14pm UTC](https://forum.babylonjs.com/t/the-debug-drawer-of-colliders-for-ammo-js-using-babylon-js-and-javascript/42462 "2023-07-15T12:14:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![8Observer8](https://avatars.discourse-cdn.com/v4/letter/8/bbe5ce/32.png) [@8Observer8](https://forum.babylonjs.com/u/8Observer8)\
**Post date:** [July 15, 2023, 12:14pm UTC](https://forum.babylonjs.com/t/the-debug-drawer-of-colliders-for-ammo-js-using-babylon-js-and-javascript/42462/1 "2023-07-15T12:14:48Z")

</div>

[Table of contents](https://forum.babylonjs.com/t/the-debug-drawers-of-colliders-for-physics-engines-using-babylon-js-and-javascript-table-of-contents/42463)

Playgrounds:

- [Babylon.js Playground](https://playground.babylonjs.com/#LKA9HK)
- [PlayCode](https://playcode.io/1534056)
- [Plunker](https://plnkr.co/edit/4Rja4zpS2ravwKa3?preview)

GitHub repo with step-by-step instruction in the README file for building and running the project in debug and release using Rollup: [GitHub - 8Observer8/debug-drawer-ammo-babylonjs-js](https://github.com/8Observer8/debug-drawer-ammo-babylonjs-js)

![debug-drawer-ammo-babylonjs-js](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/8/9/89cc2756e4d5e499c1e67f251d88159ae84930ee.gif)

It works on Babylon.js Playground but not from first time. You need to try call something like `console.log(Ammo)`, `console.log(new Ammo())` and run it. I don’t know how to fix it.  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/f/c/fcfe088deef742fde39969a4769bc1a3eb9887b8.png)
