Uphill races

Talk about making games.

Uphill races

Postby Kalladdolf » Thu Sep 13, 2007 6:42 pm

How do you make bike turn when it's going uphill?
There's an example how it should and shouldn't be... :?:
Bikez.png
...


If anyone knows...
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: Uphill races

Postby Fuzzy » Thu Sep 13, 2007 8:23 pm

You will need animations for various angles. then you need to measure the distance from the actors y to the collision point on the slope in two(or more) places. The bottom of the tires is a good spot. Use these two distances to calculate the slope angle and use that to set the animation as appropriate.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Re: Uphill races

Postby Kalladdolf » Fri Sep 14, 2007 6:29 pm

Thanks :D
BUT : how do I mark the two spots, how do I measure the distance and stuff?
(y'know, I'm sort of new; maybe a script example would do...) :o
...
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron