#Making a helicopter
7 messages · Page 1 of 1 (latest)
cframe with momentum gain, aka once button press go in direction with gain of mass and force
jailbreak kinda
personally I think thats a terrible idea to rely on cframe
I have worked on helicopters extensively and greatly prefer body movers. I use a bodythrust, a body force, angular velocity and bodygyro to achieve all the movement I could want. I use the bodyforce to counter the weight of the helicopter using mass*gravity so it can float in mid air. Do note you can reduce the force if your helicopter is pitched or tilted so it will lose altitude when youre not perfectly level. then I use bodythrust to actually propel the aircraft in whichever direction it is tilting. aka, if its tilting forward, use the bodythrust to push it forward. And lastly I use the angular velocity to rotate the craft in whichever way needed. how I do that is by setting the rotation value I want whenever I press a key. Like if I hold W, I want a value to set the pitch to -15 degrees so the aircraft tilts forward, I then make a chunk of code that rapidly updates the angular velocity to either increase or decrease the tilt to match the -15 degrees. Lastly, if you want to control aircraft orientation via your mouse, you can just use a bodygyro. I personally think its best to implement both systems and use a button (like x) to alternate between keyboard control and mouse control, but thats entirely up to you
i'll read chapter 2 tomorow
what?
yeah, but you could replicate their behavior, or at least the outcome of it