Control Player Altitude
Hi there,
Basically, I have a Game Object (player) which I control using Char Controller and an Acceleration script attached to it. All the gravity is controlled by the script, not really using any Rigidbody on the player obj. It is a top-down game and I would like my Object (player) which is grounded be able to fly when (Space, for instance) is pressed and another keycode to come back to the floor. Any thoughts on this? I would really appreciate any feedback. Thanks!
Firstly, the way I imagine is to control the altitude gradually when I press the Space Button(to fly) and another button (to land) but I already know I would have a hard time to make the player interact with the objects in scene as with top-down view camera would not really be the best way. Not sure yet.
Secondly, I would have an "X" Heigh value set where all these objects would be placed for interaction, I would not giving the player the full control thou. This is my main concern as well.
Really appreciate any help in regards to this. Thanks a lot!