is there a good tutorial somewhere (for the most recent version of unity) that demonstrates or explains how to simulate a helicopter floating in the air? (and tilting left/right to strafe)
note:
- it should hover at a constant height while the player is using it (the player cannot change the height)
- when damaged it should fall out of the sky under regular physics forces
There’s dozens of ways of doing this, involving different degrees of physics simulation.
This is a simple one, that you can tweak to limit the height to a constant value:
https://www.youtube.com/watch?v=WzNDI7g6jA4
Well looks like you don’t need to simulate a helicopter. You can set the rigidbody to kinematic and move it like anything else. then when dead disable iskinematic.