lV0rd
(Tin)
August 23, 2022, 11:07am
#1
I have an obby game and I am a controller player (sometimes i mix between keyboard and controller)
but I want to add shiftlock specificly for controller/console players, How do I do that?
lV0rd
(Tin)
August 23, 2022, 11:41am
#3
doesn’t help , but thx for trying
Kolbxyz
(Kolb)
August 23, 2022, 12:59pm
#4
Inside function CameraModule:Update(dt)
for the CameraModule, you can force shiftlock automatically on
by putting the following code into it
self.activeCameraController:SetIsMouseLocked(true)
If you want rotation you change you can also
GameSettings.RotationType = Enum.RotationType.CameraRelative
or
GameSettings.RotationType = Enum.RotationType.MovementRelative
Using this you can also set up certain conditions for when and if the camera will be forced in situations.
Also you can turn of…
Connect it to a controller key
1 Like