Sign in to follow this  

Simulating tank treads...without the treads

Recommended Posts

I'm playing around with Bullet Physics, but I think my question is probably physics engine agnostic. Basically, I'm looking to simulate an arcade/style tank. I want to use a constraint based system rather than a raycast system to make it a bit more physically based. I've basically set up a constraint that limits the rotation to one degree of freedom (the axis angle), and one translational degree of freedom with a spring (the shock absorber). I don't want to actually simulate the treads, but I'd like for the wheels to behave as if they have treads, i.e. a force applied to one wheel affects all wheels. More than that, some of the wheels are bigger than others, so I have to take in to account their size differences.

I guess what I'm asking is, do I need to do some heavy gear differential related math to apply forces to each wheel, or does bullet (or any other engine) have constraints designed to accommodate this kind of scenario?


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