• Advertisement
Sign in to follow this  

The way of adding new objects into Physics Engine...

Recommended Posts

Which way is the correct way?

1) Add to the physics engine with the static version of the mesh (everything collapsed together) to make a btConvexTriangleMeshShape hull proxy

2) Add to the physics engine with the frame hierarchy structure to make the same thing.

Any ideas?

Thanks

Jack

Share this post


Link to post
Share on other sites
Advertisement
The specifics vary by engine, but you're most likely looking for rigid bodies of some kind. Spheres, boxes, and capsules are the most common geometrical forms.

Share this post


Link to post
Share on other sites

Hi ApochPiQ,

I checked on one of the forklift samples found in one well-known library called bullet.

In that sample, I see that the fork of the forklift can actually come really close to the body of the forklift,

In other words, there is no bounding volume above the fork....

Are boxes, capsules still good for those cases?

Thanks

Jack

Edited by lucky6969b

Share this post


Link to post
Share on other sites
Shapes that need to move together are usually connected using a constraint system. I only glanced at the Bullet physics demos, but it seems like the forklift is a set of boxes connected via different types of constraint.

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