I'm new to bullet physics. I'm interested in dynamically building a shape at the user's input of nodes in space. Currently this seems to work well with a btCompoundShape with spheres representing each node. I'd also like to create however, a true shape with faces with each node as a vertex. This seems possible with a btBhvTriangleMeshShape / btConvexHullShape / btCompoundShape with btConvexHullShapes for concave shapes, but this gets very tricky as the nodes and order specified is totally arbitrary. Can anyone lend some advice for doing this with bullet? Any information / pitfalls on dynamic arbitrary shapes would be very helpful. Thanks
Building Shapes
-
bdhsftv
- Posts: 3
- Joined: Mon Feb 22, 2010 1:12 am
Building Shapes
Hello,
I'm new to bullet physics. I'm interested in dynamically building a shape at the user's input of nodes in space. Currently this seems to work well with a btCompoundShape with spheres representing each node. I'd also like to create however, a true shape with faces with each node as a vertex. This seems possible with a btBhvTriangleMeshShape / btConvexHullShape / btCompoundShape with btConvexHullShapes for concave shapes, but this gets very tricky as the nodes and order specified is totally arbitrary. Can anyone lend some advice for doing this with bullet? Any information / pitfalls on dynamic arbitrary shapes would be very helpful. Thanks
I'm new to bullet physics. I'm interested in dynamically building a shape at the user's input of nodes in space. Currently this seems to work well with a btCompoundShape with spheres representing each node. I'd also like to create however, a true shape with faces with each node as a vertex. This seems possible with a btBhvTriangleMeshShape / btConvexHullShape / btCompoundShape with btConvexHullShapes for concave shapes, but this gets very tricky as the nodes and order specified is totally arbitrary. Can anyone lend some advice for doing this with bullet? Any information / pitfalls on dynamic arbitrary shapes would be very helpful. Thanks