Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我JBullet在我的代码中实现。盒子,球体完美地工作。但我不知道如何实现我的世界高度图(作为静态对象)。我必须使用什么类型的形状以及如何使用?
JBullet
我的高度图数组是这样的float[world_size][world_size]。
float[world_size][world_size]
看起来 JBullet 不包括高度图形状,您可以适当地使用BvhTriangleMeshShape,因为我认为它最适合您的需求。