Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: ChristmasHouse on May 07, 2021, 06:49:04 PM

Title: How do I limit the degree to which my player can rotate?
Post by: ChristmasHouse 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.
Title: Re: How do I limit the degree to which my player can rotate?
Post by: djaydino 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.