Implementation of HelloTerrainCollision

The project I am referring to is located here:

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?

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!