Concave flat plane
Posted: Sat Sep 07, 2019 9:55 am
Hello everybody,
I'm building a small FPS game using libGDX with the Java port of Bullet. In my game I got walls which are just regular boxes and also floors. The floors can have concave shapes (But they're always flat planes). AFAIK, having concave shapes is bad for performance. Any idea how to make to make these floors shapes "solid" according to their concave shape?
One idea I had is to breakdown the concave plane of the floor into triangles using Delauney and make each triangle as a rigid body. The downside of this is that now for each floor I'll have many triangle rigid bodies.
Thanks
I'm building a small FPS game using libGDX with the Java port of Bullet. In my game I got walls which are just regular boxes and also floors. The floors can have concave shapes (But they're always flat planes). AFAIK, having concave shapes is bad for performance. Any idea how to make to make these floors shapes "solid" according to their concave shape?
One idea I had is to breakdown the concave plane of the floor into triangles using Delauney and make each triangle as a rigid body. The downside of this is that now for each floor I'll have many triangle rigid bodies.
Thanks