|Wheels, motor joint and downhills/uphills [message #3465]
||Sun, 19 August 2012 08:13
Registered: August 2012
To start, my biggest compliments for such an embarassing great project as Nape..|
Then, my problem is about a prototype of a bike/car game i'm doing, side scrolling.
I did use a motorjoint on the back wheel , with a rate that i multiply on every tick for a damping.
It works quite fine but of course if i don't thrust it when in downhills it stops (or when in uphill, it won't accelerate backwards, as you want to see it )
What i'd like is to add some inertia to the motor force, so that if it's low the ground shape conformation overcomes it.
How would you do that?