0

I implements JBullet into my code. Boxes, spheres work prefectly. But I don't have idea how to implement to my world heightmap(as static object). What type of shape I must use and how?

My heightmap array was something like this float[world_size][world_size].

pzaenger
  • 11,381
  • 3
  • 45
  • 46
Suak
  • 21
  • 4

1 Answers1

1

As it looks like JBullet does not include the heightmap shape you could propably use the BvhTriangleMeshShape as I think it fits your needs best.

mad_manny
  • 1,081
  • 16
  • 28