Buggy or bike physics setup - help please

zapposhzapposh Member Posts: 65
edited November -1 in Working with GS (Mac)
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

Comments

  • ChaserChaser Member Posts: 1,453
    Won't work the way you want until GS gets joints or whatever they call them soon. Otherwise check out
  • zapposhzapposh Member Posts: 65
    Ok, thanks very much for the answer.
  • LumpAppsLumpApps Member Posts: 2,881
    I believe it should be able to simulate this.
    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.
  • ChaserChaser Member Posts: 1,453
    It gets all screwed when it collides and goes upside down
  • LumpAppsLumpApps Member Posts: 2,881
    Ok. I see if I can find time to prototype this. Theory is great but it's just talking air ;)
  • LumpAppsLumpApps Member Posts: 2,881
    There you go. Its pretty raw. Tweek as needed.
    http://gamesalad.com/game/21631

    (oh, its front wheel drive, no time to change that ;)
  • ChaserChaser Member Posts: 1,453
    I'll check it out tonight
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    I can't wait for joints, then we'll be able to do stuff like this properly! I can't wait for Fall!!! :)

    Ace
  • LumpAppsLumpApps Member Posts: 2,881
    And I didn't use the wheels traction either but it simulates it pretty ok. It looks like a monster truck to me.
    Brakes are not in there neither. But I hope it is a good start.
  • LumpAppsLumpApps Member Posts: 2,881
    Did you check it Out? I have been playing with it a bit more but if you are not interested I just leave it be.
    A respond would be kind, thanks. (no rush, I am just wondering)
  • Rob2Rob2 Member Posts: 2,402
    Excellent demo, definitely work on it some more :)
  • ChaserChaser Member Posts: 1,453
    I dint know if zaposh saw it. I opened it but wife kicked me off before I could see how it reacted when upside down
  • kapserkapser Member Posts: 458
    Do not let it turn upside down, reacts really weird XD

    Nice attempt though!
  • LumpAppsLumpApps Member Posts: 2,881
    Ah! You want it upside down. Like a backflip? I didn't get that part.
  • ChaserChaser Member Posts: 1,453
    I think a few of us had what you had but gave up because of the upside down or backflips portion. Don't stress I'm waiting for joints. I thought maybe you had a trick up your sleeve. Thanks for your efforts
  • LumpAppsLumpApps Member Posts: 2,881
    Perhaps with a 4th actor it is possible.
    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.
  • kapserkapser Member Posts: 458
    Make sure to show us the progress, but waiting for joints is the easier option :)

    What he is trying to do is like the classic game Elastomania. Man that game rocks!
  • LumpAppsLumpApps Member Posts: 2,881
    Didn't know it but that looks awesome.
Sign In or Register to comment.