ACherryPy
(Cherry)
October 13, 2023, 5:06am
#1
Hello, I’m working on a combat system which will include grab moves, and I don’t want players to be able to rotate and face the other direction while being grabbed since that’d kind of ruin it. Is there a way to outright stop a person from being able to rotate/look around all together without changing their camera type?
Any and all help means a lot to me. Thank you.
6 Likes
GetStyled
(GetStyled)
October 13, 2023, 5:11am
#2
I believe you can disable certain things inside of the default camera modules roblox gives you
3 Likes
Iemny
(Iemny)
October 13, 2023, 6:07am
#3
You should be able to disable AutoRotate, a boolean which turns the character relative to their camera.
Try:
humanoid.AutoRotate = false
Then doing the same but setting it back to true will re-enable character’s turning relative to their camera.
Source: Humanoid | Documentation - Roblox Creator Hub
5 Likes
ACherryPy
(Cherry)
October 13, 2023, 8:39pm
#4
Gonna try this right now, I’ll come back to tell you how it goes.
ACherryPy
(Cherry)
October 13, 2023, 8:40pm
#5
This solved my problem, thank you so much to both of you.
1 Like
system
(system)
Closed
October 27, 2023, 8:54pm
#6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.