OS: ANDROID
EXAMPLE MAP: FLYING
I would like to limit the spaceship / player to only be able to turn in any direction a certain amount of degress.
FOR EXAMPLE: If the player tries to turn right-> , after about 70degrees I want the ship to stop turning and to
begin going straight. Now, if the player tries to turn <-left , from this point, they will be able to turn for 70degrees (bringing them back to the middle-ground) and then for 70degrees to the left again.
IN-GAME EXAMPLE:
The player controls a spaceship. The spaceship is in space, but there is a transparent outline or grid in the shape of a cylinder / tube that forces the player to keep moving in that direction. Hitting the mesh of the cylinder will make them slide against it in the same direction I initially forced them to fly in. But what I want to do is restrict them from continuing to turn left or right in order to avoid having them end up flying backwards (the wrong way).
They should be able to fly left and right to about 70degrees, in this example.
Thank you for your time!
I will upload any info / screenshots upon specific request.