Dunno how to title this question

So for my game I’m making it so that when you get hit by a move you automatically look at the user. To do this I have to disable and re enable autorotate during the stun time.

But I’m also going to add moves to my game where you can click and hold and it disables autorotate on the character and re enables when you let go. What can I do to make sure my stun system doesn’t overlap the move system? This problem has been bugging me for a long time and no matter what kind of ideas I come up with I can’t seem to make it work.

You can add a Boolean attribute named “CanAutoRotate” and enable/disable depending on the use case, then when you want to enable/disable AutoRotate just check if the attribute is true.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.