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:
jianmingyong 2017-01-09 00:25:29 +08:00
parent b0c192a2f9
commit ed80bafb42
1 changed files with 15 additions and 0 deletions

View File

@ -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