Car driven by tires ...
gtasick
Member Posts: 15
So I'm trying to make a vehicle, similar in fashion to the ones found in the game "Hill Climb Racing".
Thus far I've got a ground plane and tires that spin when the L/R keys are pressed, interacting with the ground plane causing the tires to move along the grond plane.
Now I'm trying to constrain the vehicle body to the tires (and vice versa) so that the wheels spin against the ground plane, imparting motion to the car body and the wheels stay attached to the lower corners of the car body so the whole "car" moves as one.
I was trying to use this tutorial ...
... but it seems to be out of date as the settings and options don't match up with the current version of Game Salad?
Does anyone know of a tutorial video that will help my situation?
Thus far I've got a ground plane and tires that spin when the L/R keys are pressed, interacting with the ground plane causing the tires to move along the grond plane.
Now I'm trying to constrain the vehicle body to the tires (and vice versa) so that the wheels spin against the ground plane, imparting motion to the car body and the wheels stay attached to the lower corners of the car body so the whole "car" moves as one.
I was trying to use this tutorial ...
... but it seems to be out of date as the settings and options don't match up with the current version of Game Salad?
Does anyone know of a tutorial video that will help my situation?
Comments
Now I have 2 new problems ...
1) With only a single set of front tires, you would expect that the rear end of the car body would fall to the ground and drag as the front tires pulled the car around. But this is not happening, the rear end of the car just hovers there as the front tires move the vehicle around. It's like the rotational physics of the car body stop working when it's constrained to the front tires?
2) When I try to attach the car body to the rear tires, the body's constraint to the front tires stops working. Can I not constrain one object to two things so the front end of the car is affected by the movement of the front tires and the back tires affect the back end of the cars body? When I constrain the tires to the body so they stay in the same position relative to the body the whole thing just glitches out and flys off the screen!
I know there is some weird hierarchal loop going on there that results in an error, but can someone guide me as to how i can have the car affected by the friction/movement of both tires while the tires stay in the same position relative to the car and the whole vehicle moves naturally (pivoting, bouncing and getting air via the physics) over obstacles?
If i remember in some of my 3D animation problems, you overcame this problem by linking dummy objects to the corner of te car ... then liking the tires to the dummy objects ... or something like that? I'm not sure if the physics in GameSalad are the same?
Thanks in advance.
You can fake it like we tried in our Moto X template below.
Darren.
Lump Apps and My Assets
I want to love this software but it seems like if your game does not include a ball or a block using basic physics, it's pretty much useless.
I was introduced to this software 2 years ago and it seems like absolutely nothing has changed? I gave GameSalad another chance because I thought that some of the limitations had been overcome via new tools and features, but that does not seem to be the case.
Seriously though, you can do some fairly impressive stuff with GameSalad, pretty much anything short of full blown 3D projects, you just need to be a bit clever about how you approach things, it takes hard work and some dedication, you started a thread about this project of yours less than 24 hours ago, and in less than one day you've asked a bunch of questions, failed to get the right answers and appear to have given up !! I wouldn't give up so easily.
There are quite a few other platforms out there, but as functionality rises so does the learning curve, expect some level of scripting as you move up the platform food chain. Yep, it's been slow, various features like have been bolted on over the last two years while the core functionality has languished somewhat, stick around though, the new engine is in the oven and should be cooked soon.
Lump Apps and My Assets
@LudwigHeijden
That's brilliant ! : )
I'll pick it apart and see if it leads me anywhere.
Are there people (programers) in the GS community that could solve this problem for me? If so, what kinds of rates are we talking about?
If I'm going to hire a programmer, is it worth using GS at all? Or should I go with a more advanced development tool?
Lump Apps and My Assets
How much ? Again, there is no answer, no standard rate, some will want paying by the hour, some by the job, others will work for food / drugs.
Head over here:
http://forums.gamesalad.com/categories/third-party-services:-coding-programming
That all depends on your budget.
There is no better teacher than experience and GS seemed like a way to quickly test the whole system.
I'll have to scale back my ambition with GS, maybe I'll just crank out Block vs. Ball™! (It's absolutely nothing like Ball vs. Block™.) @Socks
Lump Apps and My Assets