mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-27 15:54:25 +02:00
Y axis movement :) Press Left Ctrl + Left Alt + W to move up. (Left Ctrl is to make the player walk through walls which is apparently needed)
This commit is contained in:
parent
b0c192a2f9
commit
ed80bafb42
@ -860,6 +860,21 @@ Public Class OverworldCamera
|
||||
End If
|
||||
End Select
|
||||
|
||||
'DebugFeature:
|
||||
If GameController.IS_DEBUG_ACTIVE = True Or Core.Player.SandBoxMode = True Then
|
||||
If KeyBoardHandler.KeyDown(Keys.LeftAlt) Then
|
||||
If KeyBoardHandler.KeyDown(KeyBindings.ForwardMoveKey) Then
|
||||
v.X = 0F
|
||||
v.Y = 1.0F
|
||||
v.Z = 0F
|
||||
ElseIf KeyBoardHandler.KeyDown(KeyBindings.BackwardMoveKey) Then
|
||||
v.X = 0F
|
||||
v.Y = -1.0F
|
||||
v.Z = 0F
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
|
||||
Return v
|
||||
End Function
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user