PDA

View Full Version : Controllable Plane


Lunanite
03-05-2013, 08:23 PM
I've been using Alice for a few months now, and I'm attempting to make a controllable plane. I had originally made a method that reset the tilt/yaw/roll of the plane by changing a variable by 1 every degree it turned, and turning the opposite direction by the amount it was turned. But when it turns left/right while pointed up/down, it turns relative to it. This results in the /slightest/ roll left or right. So I was planning on making a method that measured the plane's angles relative to the ground to find it's tilts/yaw/roll, by having one object with the plane as it's vehicle above it, one in the center and one following it on the ground below it. So I had an object move up by the amount it's behind the plane/right it's distance to the left so it constantly stayed below it. But when the plane turns, the object.. Well spazzes. I'm not sure what the problem is, and I figured you guys might be able to help me deduce it and fix it.

Thanks in advance.