123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|616|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> Moving up slopes

Posted : Tuesday, 29 April 2008, 15:59
DrOnuki
Kiklokadilopia!

Everything is proper, but now I have a new track which is a sloped 8! Anywho, the problem is that when my bike goes up the track, it stops and cannot accelerate! So what do I do about this, hmm?

Thanks!

-=-=-
zzzzzzzzzzzzzzz
Posted : Tuesday, 29 April 2008, 17:31
JL235
Presumably it is detecting a collision with the slope and so stopping.
Posted : Tuesday, 29 April 2008, 18:30
Orion Pax
Yeah he was basically...he had it setup right...but for some reason he was collision checking on the racer and track when its not needed. He just needed his collision response set to 3 so it slopes up and down but does not FORCE the player down the slope.
Posted : Wednesday, 30 April 2008, 00:10
shroom_monk
I suggest you calculate the spacial and rotational forces, and move the bike in that direction. In other words, keep a note of all the forces, and then you shouldn't have this problem. In racing games, physics is generally quite important.

-=-=-
A mushroom a day keeps the doctor away...

Keep It Simple, Shroom!
Posted : Thursday, 01 May 2008, 00:49
realtime
make your gravitation lower should solve the problem

make gravitation lower when collided with slopes and turn to normal when it collided with other meshes.

your slope may not straight or curved or it's a problem with your mesh. try to test with regular rectangle or cone.

-=-=-
me blog: fork-garden
Posted : Thursday, 01 May 2008, 20:46
realtime
I tried this at home
not realistic enough
you need physics to solve the problem



-=-=-
me blog: fork-garden
Posted : Thursday, 01 May 2008, 20:55
DrOnuki
Thanks!!!