Disable backwardsmovekey in first person

This commit is contained in:
JappaWakka 2024-08-20 12:30:14 +02:00
parent 1e0fb98359
commit 0738507791
1 changed files with 10 additions and 9 deletions

View File

@ -718,15 +718,16 @@ Public Class OverworldCamera
pressedDirection = 1
End If
End If
If (KeyBoardHandler.KeyDown(KeyBindings.BackwardMoveKey) = True Or ControllerHandler.ButtonDown(Buttons.LeftThumbstickDown) = True) And Turning = False Then
If _freeCameraMode = True Then
If _moved <= 0F Then
Turn(2)
End If
Else
pressedDirection = 2
End If
End If
'// Disable turn around
'If (KeyBoardHandler.KeyDown(KeyBindings.BackwardMoveKey) = True Or ControllerHandler.ButtonDown(Buttons.LeftThumbstickDown) = True) And Turning = False Then
' If _freeCameraMode = True Then
' If _moved <= 0F Then
' Turn(2)
' End If
' Else
' pressedDirection = 2
' End If
'End If
If (KeyBoardHandler.KeyDown(KeyBindings.RightMoveKey) = True Or ControllerHandler.ButtonDown(Buttons.RightThumbstickRight) = True) And Turning = False Then
If _freeCameraMode = True Then
Yaw -= RotationSpeed * 40.0F * ControllerTurnModifier