|
Hi guys, I have the following code for a basic flight model (I will refine it later):
While the pitch, roll, and yaw clearly seem to work, the throttle axis doesn't seem to be working if I use the requisite keyboard keys (although I can't say for sure, since I haven't added a HUD with speed readings yet. Keep in mind that there's no translation if I turn off gravity for the player's rigidbody, so it probably doesn't work). These are the settings for the relevant axis: Name: Throttle Positive Button: = Negative Button: - Alt Positive Button: i Alt Negative Button: k Gravity: 3 Dead: 0.001 Sensitivity: 3 Snap: Yes Type: Key or Mouse Button Axis: 3rd Axis Joy Num: Get motion from all joysticks Thanks in advance, MachCUBED
(comments are locked)
|
|
I fixed it, it turns out it was working all right. I needed to increase the force added in order for it to work.
(comments are locked)
|
