Buggy or bike physics setup - help please
Hi,
I've tried many ways of trying to set up a buggy or car spring system, but I have not been successful so far.
This is what I would like to achieve with two wheels and a box:
-the back wheel is what is to power the car, motorcycle etc...
-the front wheel just "follows", but has no breaking or powering action on the rest
-the "box sitting on top should have a spring system and not just be suck to the wheels
The whole set of objects moves on the ground by the physics friction of the rotating powering wheel.
I would also like to bring it to a halt by just "blocking" the powering wheel, like pulling the handbrake, making the set skid until reaching a halt. For that reason I chose not to make the ox parent of the wheels.
Maybe a template of such a system exists, and I overlooked it?
Great in such a template would be a way to shift the virtual gravity point, that changes dramatically from a tractor or dragster to a schoolbus.
Many thank
I've tried many ways of trying to set up a buggy or car spring system, but I have not been successful so far.
This is what I would like to achieve with two wheels and a box:
-the back wheel is what is to power the car, motorcycle etc...
-the front wheel just "follows", but has no breaking or powering action on the rest
-the "box sitting on top should have a spring system and not just be suck to the wheels
The whole set of objects moves on the ground by the physics friction of the rotating powering wheel.
I would also like to bring it to a halt by just "blocking" the powering wheel, like pulling the handbrake, making the set skid until reaching a halt. For that reason I chose not to make the ox parent of the wheels.
Maybe a template of such a system exists, and I overlooked it?
Great in such a template would be a way to shift the virtual gravity point, that changes dramatically from a tractor or dragster to a schoolbus.
Many thank
Comments
Have a wheel, let the other wheel follow by constraining the x and y to the first wheel with an offfset Have the body of the car follow the first wheel to but don't comstrain it but have it interpolate g to the x and y of the first wheel with a timer (every 0.1 sec or something else) . That way the body will be following the wheels with a delay. That is kind of what happens in real life too. You probably have to do a lot of tweeking on the timer to get it to "flow" right. When you give the body enough drag it might work as a dampening system too.
Havent tested this myself but I am pretty confident it will work.
Lump Apps and My Assets
Lump Apps and My Assets
http://gamesalad.com/game/21631
(oh, its front wheel drive, no time to change that
Lump Apps and My Assets
Ace
Brakes are not in there neither. But I hope it is a good start.
Lump Apps and My Assets
A respond would be kind, thanks. (no rush, I am just wondering)
Lump Apps and My Assets
Nice attempt though!
Lump Apps and My Assets
I am thinking 2 wheels body and an actor the rest is following. That way when the 4th (invisible) actor rotates the. Rest follows.
No time to test it at the moment but defenetly something I'd love to play with.
Lump Apps and My Assets
What he is trying to do is like the classic game Elastomania. Man that game rocks!
Lump Apps and My Assets