Implementation of HelloTerrainCollision

The project I am referring to is located here: https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:terrain_collision



I was attempting to implement the terrain collision used in the example above on my own project which uses various geometric box. I am unable to figure out how to allow the CollisionShape to define my floor (which is a box). Is anyone able to mark up the example and show me how I could use CollisionShape for my box? Thanks in advance.

Have you looked at all of the physics tutorials? https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:physics

That link shows how to create mesh and box collision shapes.

1 Like

Note the namespace of the wiki page and the rest of the content of the pages you copy-pasted the code from, its a full-blown manual :o :roll:

1 Like

Oh my goodness, I did not see those pages. Thank you so very much, folks!