PDA

View Full Version : how do i detect if car is out of track?


ahalodude
05-20-2009, 07:46 PM
i am trying to make like this simple game where the car pretty much catches on fire when its out of the road
how do i do this?
i need like the code for the detection
like when the car is not on the road but in the grass or ground
it catches on fire
i have no idea how to write that code and if someone could help me =]

Scott300
05-20-2009, 09:18 PM
Try like

if car is 0.5 meters away from road
{
set fire
}