Jump to content
  • Advertisement
Sign in to follow this  
lucky6969b

Bullet Vehicle falls apart when adding in the compound way

Recommended Posts

I just keep stacking onto the compound shape, where the chassis is a box and the wheels are cylinders.... When getting rendered, they just fall apart, especially the chassis slips over and fall onto the ground...I haven't added constraints yet and I am just rendering the compound, not the vehicle type...
I have a hard time understanding the forklift example though...

And if I forget about the individual shapes and add as a compound shape in the end, I don't know how to apply constraints to the vehicle because they have no rigid bodies to create at all.
You have to add the final compound shape and create a rigid body from there, if needing to add constraints, you need to have some references to the rigid bodies created from individual parts of the vehicle.

thanks
Jack

Edited by lucky6969b

Share this post


Link to post
Share on other sites
Advertisement

Okay, I overcame it by excluding it from the update pipeline (the vector of collision objects), and just add to the processing pipeline (the dynamics world)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!