here's an example of a possible script (pressing E will make the object turn - just a set rotation but could be improved)
wish we had more input control so we could actually make a real remote controlled racing car type game XD
distance = 0
turning = 0
direction = 0
pressed = 0
function vechile_main(e)
if distance < 5000 then
MoveForward(e,1)
distance = distance + 1
if g_KeyPressE == 1 and pressed == 0 then
turning = 1
pressed = 1
end
if turning == 1 then
direction = math.random(4)
if direction == 1 then
RotateY(e, -10)
end
if direction == 2 then
RotateY(e, 10)
end
if direction == 3 then
RotateY(e, 40)
end
if direction == 4 then
RotateY(e, -40)
end
turning = 0
end
end
if g_KeyPressE == 0 then
pressed = 0
end
Prompt("distance traveled = " .. distance)
end
as you can see it's very easy to control objects now
life's one big game
windows vista ultimate
i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11