Ammo btHeightfieldTerrainShape not colliding

Hi, I’m using Ammo btHeightfieldTerrainShape in engine-only and it’s not working.
I’ve successfullly used PlayCanvas’ built in mesh collider for my terrain, but when moving to Ammo btHeightfieldTerrainShape no collision is happening. I feel like I am missing a step or an Ammo object.

Is there any working demo of Playcanvas using Ammo btHeightfieldTerrainShape? Here is a nice one discussed and with a working example using Playground in Babylon: Ammo Heightfield Terrain Shape - #37 by arcman7 - Questions - Babylon.js

Hello, and welcome!

Can you provide the code or project for review ?

I was able to get a demo working here: PlayCanvas 3D HTML5 Game Engine

I’ll investigate how to integrate this into my engine-only project. I think I can since the demo is now working.

1 Like