Hi Everyone,
I just started learning Bullet this week. I would like to do simple convex objects stacking. After reading a lot of post, I decided to use ConvexDecomposition tool, which generates .wrl file.
I would like to know if there is a prebuild function or easy way to load this .wrl file into btCompoundShape?
I thought it would be much faster rather than redoing the ConvexDecomposition for each runtime.
I couldn't find this information anywhere.
Thanks for your help
Load result of ConvexDecomposition to btCompoundShape
-
- Posts: 4
- Joined: Tue Oct 18, 2016 1:50 am
-
- Posts: 4
- Joined: Tue Oct 18, 2016 1:50 am
Re: Load result of ConvexDecomposition to btCompoundShape
Nevermind, I had written a ConvexDecomposition tool that is based on btHACDCompoundShape.h and ConvexDecomposition Demo.
Now I can generate .bcs file that can be easily loaded into BtCompoundShape.
Now I can generate .bcs file that can be easily loaded into BtCompoundShape.
-
- Posts: 6
- Joined: Wed Jan 22, 2020 2:45 pm
Re: Load result of ConvexDecomposition to btCompoundShape
Hi!
Can I ask you how did you generate the .bcs file and than how do you load it?
Thank you very much!!
Can I ask you how did you generate the .bcs file and than how do you load it?
Thank you very much!!