Author Topic: Aircraft Turning  (Read 1025 times)

What values control turning using the keyboard, and not the mouse? By turning, I mean rolling.



The function is just yaw()

So roll force is what I need? Okay...

What do I do if pressing left makes you tilt right?


So roll force is what I need? Okay...

What do I do if pressing left makes you tilt right?
Use a negative number equivalent to the values you have.




I figured out my main problem. Apparently things get all switched up when you use a flying vehicle type.

Instead I used a wheel-less wheeled vehicle type, cancled some gravity, strapped a huge jet on it, and now it works.

You're looking for pitch

I though pitch was up and down...

My newest problem is braking. I have the reverse thrust at 24,000, which is double the forward thrust. I need the aircraft to be able to stop rather quickly, and then just kinda float down.

Here's the code:
Code: [Select]
forwardThrust = 12000;
reverseThrust = 24000;
lift = 100;
maxForwardVel = 120;
maxReverseVel = 0;
horizontalSurfaceForce = 150;
verticalSurfaceForce = 150;
stallSpeed = 10;

For some reason, when ever I brake, nothing really happens, I just keep going...

Try increasing the maxReverseVel

Try increasing the maxReverseVel

I thought about doing that, but I don't want it to be able to go backwards...

I thought about doing that, but I don't want it to be able to go backwards...
Try it at 1