Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

2.5D Player Rotation with Bolt

Discussion in 'General Discussion' started by SquareBunnyBoy, Aug 11, 2020.

  1. SquareBunnyBoy

    SquareBunnyBoy

    Joined:
    Feb 16, 2020
    Posts:
    27
    Good day, all!

    I'm trying to create player controller for 2.5D side scroller game with Bolt and have a problem with player rotation.

    Here's my graph for player rotation:


    It's rotating, but how can I make it stop on 180 degree angle and not spinning constantly? Can I clamp rotation somehow?

    Thanks!
     
  2. ChetanCRS

    ChetanCRS

    Joined:
    Nov 18, 2018
    Posts:
    4