View Full Version : Driving game "physics"

03-11-2003, 07:47 AM
Im trying to write a driving game. I have a very simple turn and go system going, but its pretty bland. I want to add some sort of physics that would require the driver to "drift" around the corners.
First I tried lagging the rotation behind what the user controlled, but it wouldnt work when the angle went from -180 to 180. If anyone knows maybe i can get this to work.
Otherwise I was going to play with xvelocity and yvelocity as variables that dictate where the car goes. and that the velocity is controlled by acceleration, which the user directly controlls.
but i havent got that working well either.
So if anyone has any ideas, they are much appreciated.


03-11-2003, 10:48 AM
welcome to as.org
a coolt tut to start with in www.bit-101.com

03-11-2003, 06:40 PM
hehe thanks, I did some flash 4 but never touched scripting. Learned some programming at school, then got my hands on MX and discovered scripting, And its been sooooo much fun learning actionscript.

anyway thanks for the site its right up my alley.