Hi everyone.
I’m currently building a top-down racer, which is going well on the whole, but I have a technical problem that I can’t solve…
On my racetrack there’s a ‘power-up’, it’s a turntable (that’s constantly rotating) with an arrow on it… The idea is to add velocity to the ‘car’ in the direction of the arrow… So, if you hit the arrow when it’s pointing the wrong way, it fires you off in that particular direction.
I have no problem affecting the ‘car’s’ velocity, but I don’t know how to change the car’s direction based on the rotational value (angle) of the ‘turntable’. Any help here would be appreciated, I’ve been tinkering for about 6 hours but I’m getting no closer to a solution. So if you know of a ‘bit-of-script’, a tutorial or old thread that addresses a similar issue, I’ll be eternally grateful.
Mark
