Hi,
I was trying to get a realistic tank/crawler type vehicle done with Bullet. However, I failed with normal movements by forces/torque. The crawler was sliding and moving unrealistic.
So I tried with the vehicle physics, my idea was to use e.g. 6 (invisible) wheels and to drive them. However, I discovered to my surprise, that it seems you can only give force to the chassie and the wheels will follow and rotate accordingly. They way vice versa seems much more logical to me (meaning to have "motors/engines" for each wheel, and let the chassie follow (I think thats the way ODE handles this?)).
So now my Qs:
- does anyone have an idea how to make a realistic tank movement?
- will Bullet also support "driven" wheels?
Best regards,
Carsten
Tank/crawler type vehicle
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Tank/crawler type vehicle
Basicalty there are two types of vehicle simulation in Bullet: raycast wheeled vehicles and constraint hinge wheeled vehicles.
Have you looked into hinged wheel vehicle Blender demo? That is the closest to what you want: you can apply torque to the wheels, and that drives the chassis. However, it doesn't have suspension at the moment.
It requires some extra work to get such simulation working properly. It is on my list to make a sample for this in Bullet, for a Fork Lift.
Thanks,
Erwin
Have you looked into hinged wheel vehicle Blender demo? That is the closest to what you want: you can apply torque to the wheels, and that drives the chassis. However, it doesn't have suspension at the moment.
It requires some extra work to get such simulation working properly. It is on my list to make a sample for this in Bullet, for a Fork Lift.
Thanks,
Erwin
calli wrote:Hi,
I was trying to get a realistic tank/crawler type vehicle done with Bullet. However, I failed with normal movements by forces/torque. The crawler was sliding and moving unrealistic.
So I tried with the vehicle physics, my idea was to use e.g. 6 (invisible) wheels and to drive them. However, I discovered to my surprise, that it seems you can only give force to the chassie and the wheels will follow and rotate accordingly. They way vice versa seems much more logical to me (meaning to have "motors/engines" for each wheel, and let the chassie follow (I think thats the way ODE handles this?)).
So now my Qs:
- does anyone have an idea how to make a realistic tank movement?
- will Bullet also support "driven" wheels?
Best regards,
Carsten
-
- Posts: 34
- Joined: Tue Jul 12, 2005 1:15 pm
Re: Tank/crawler type vehicle
Ah, really.... I missed that hinged wheel demo!Erwin Coumans wrote: Have you looked into hinged wheel vehicle Blender demo? That is the closest to what you want: you can apply torque to the wheels, and that drives the chassis. However, it doesn't have suspension at the moment.
I now have some nice crawler movement on a plane, however, without suspension its hard to drive on uneven terrain...
It would also be nice to have some friction on the hinges.
Carsten
-
- Posts: 34
- Joined: Tue Jul 12, 2005 1:15 pm
After tweaking and some magic, I got a nice crawler even with a working bucket for driving spheres around.
Too bad I have to tweak some more because I had "Enable all frames" on and now without it works not so good without that option.
It's allready fun to move things, even if it needs more tweaking
Nice, spheres are rolling
No sliding sideways.
Carsten
Too bad I have to tweak some more because I had "Enable all frames" on and now without it works not so good without that option.
It's allready fun to move things, even if it needs more tweaking
Nice, spheres are rolling
No sliding sideways.
Carsten
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
That looks very cool! Can you mail the .blend to blender at erwincoumans.com ?
Please stay tuned
Erwin
This 'enable all frames' problem will be fixed soon. Bullet is now framerate independent, but this isn't integrated into Blender yet.Too bad I have to tweak some more because I had "Enable all frames" on and now without it works not so good without that option.
Please stay tuned
Erwin
-
- Posts: 17
- Joined: Sat Jun 03, 2006 7:36 pm
- Location: Raleigh, NC USA
-
- Posts: 16
- Joined: Wed Jul 13, 2005 10:32 am
- Location: London, United Kingdom
-
- Posts: 1
- Joined: Sun Jan 07, 2007 7:18 am
Re: Cool Dozer
Hi, I'm just getting into this blender physics thing.
The problem I would like to model uses a bucket to transport grain particles. Hence I was thinking your dozer was a close approximation. Is there any chance I could have a look at your model/file??
If you're building a product then no problems, I'll keep trying other sample files.
Have a nice day,
Tray
The problem I would like to model uses a bucket to transport grain particles. Hence I was thinking your dozer was a close approximation. Is there any chance I could have a look at your model/file??
If you're building a product then no problems, I'll keep trying other sample files.
Have a nice day,
Tray
-
- Posts: 34
- Joined: Tue Jul 12, 2005 1:15 pm
-
- Posts: 3
- Joined: Fri Jan 19, 2007 5:21 pm
-
- Posts: 5
- Joined: Sun Jul 08, 2007 4:55 am