Page 1 of 1

Uphill races

PostPosted: Thu Sep 13, 2007 6:42 pm
by Kalladdolf
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...

Re: Uphill races

PostPosted: Thu Sep 13, 2007 8:23 pm
by Fuzzy
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.

Re: Uphill races

PostPosted: Fri Sep 14, 2007 6:29 pm
by Kalladdolf
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
...