Les fleches c'est pour les noobs.
This commit is contained in:
@@ -23,6 +23,15 @@ public partial class player : Camera3D
|
||||
Vector3 rot = this.Rotation;
|
||||
bool zin = true, zout = true;
|
||||
|
||||
if (Input.IsActionPressed("CamNorth"))
|
||||
_mUp = true;
|
||||
if (Input.IsActionPressed("CamSouth"))
|
||||
_mDown = true;
|
||||
if (Input.IsActionPressed("CamEast"))
|
||||
_mRight = true;
|
||||
if (Input.IsActionPressed("CamWest"))
|
||||
_mLeft = true;
|
||||
|
||||
this.Rotation -= rot;
|
||||
if (this.Position.Y < 5)
|
||||
zin = false;
|
||||
@@ -67,5 +76,6 @@ public partial class player : Camera3D
|
||||
else if (mousebtn.ButtonIndex == MouseButton.WheelDown)
|
||||
_wOut = true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user