playMaker

Author Topic: How do I limit the degree to which my player can rotate?  (Read 524 times)

ChristmasHouse

  • Playmaker Newbie
  • *
  • Posts: 2
How do I limit the degree to which my player can rotate?
« on: May 07, 2021, 06:49:04 PM »
I'm pretty new to playmaker. I've tried to troubleshoot this, but haven't had any luck. In the scene I'm building my character is sitting in their car. I want them to be able to look left/right/up/down, but I don't want them to be able to do a 180 when turning. I would like there to be a cut off point when rotating left/right which keeps the player from being able to look behind them. All help is very much appreciated.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: How do I limit the degree to which my player can rotate?
« Reply #1 on: May 08, 2021, 07:17:22 AM »
Hi.

How are you doing the look?

there are actions like Float Clamp.
You might also need to do some parenting so that parent can rotate x direction and child in y direction so its easier to control restriction.