Blockland Forums > Suggestions & Requests
Client-Sided Auto Pilot for Planes
phflack:
i think it'd be easy to regulate the speed
if you're going to slow, moveforward
if going too fast, stop moving forward
check every tenth of a second?
Racerboy:
--- Quote from: Lugnut on August 04, 2012, 07:46:13 PM ---you know you can't magically control the speed of the plane, right? pretty much only FULL ON GAS or FULL OFF GAS
you could sorta do it by turning full on gas on and off rapidly but idk
--- End quote ---
That would be kind of the idea.
Port:
--- Quote from: Lugnut on August 04, 2012, 07:46:13 PM ---you know you can't magically control the speed of the plane, right? pretty much only FULL ON GAS or FULL OFF GAS
--- End quote ---
you can
Racerboy:
--- Quote from: Port on August 05, 2012, 08:57:31 AM ---you can
--- End quote ---
But you do it by toggling the ON and OFF at different speeds right?
Headcrab Zombie:
--- Quote from: Lugnut on August 04, 2012, 07:46:13 PM ---you know you can't magically control the speed of the plane, right? pretty much only FULL ON GAS or FULL OFF GAS
--- End quote ---
moveForward(0.5);
I am now magically flying my plane at half speed!
Anyways what I'd say is the problem is stabalizing the plane (pitch and roll functions would be used, but as for getting the current pitch and yaw, and what values to pass to the functions, I dont know)