hey jean,
its framework from "simple waypoint system" im using changespeed method to change speed of the car during runtime, so that when car detects obstacle, it slows down gradually and not straight to 0.
if every frame isnt an option, then i guess i could use float substract, and substract it by 0.1... and do that every frame... and then clamp float value...
the problem is that you dont know how many frames per second the user on the phone will have... but okey i think its doable