I have been trying to make a good helicopter for a while and have finally done it! But there’s one problem… It doesn’t tilt
I just want the helicopter to tilt forwards when going forwards, tilt back when going back, tilt right when turning right and tilt left while turning left. I already have a body gyro doing the turning but it only changes the CFrame and doesn’t actually tilt. Any way to do so?
Though I’m no scripter, I found an extremely useful resource related to this: helikit. Maybe you could dig in this and search for what your trying to find. Hope you find your answer!
I tried using it but it seemed like their gyros relied on mouse input rather than keyboard input. I hope someone can help me out with this since it is essential for my game.
if im pretty sure,i made a heli before and the thing is that i used a body gyro to tilt my heli and i rotated the body gyro in the x axis,you can probably see my heli code in my #help-and-feedback:scripting-support topics in my acc
If I were to be making a helicopter I would use a AlignOrientation instance to control its rotational property(s).
You would then have to do some math to get the helicopter to tilt in the direction you want but this instance is good if you helicopter is physics based.
If you are moving your helicopter using CFrame I you can just add CFrame.Angles(X, Y, Z) to your existing CFrame constructors.