No more KSP

This commit is contained in:
MarcEricMartel
2023-06-10 17:00:08 -04:00
parent 100bac9f97
commit b982ffb7c4
2 changed files with 4 additions and 4 deletions

View File

@@ -33,12 +33,12 @@ public partial class player : Camera3D
this.Translate(new Vector3(0, 0, (float)delta*10));
this.Rotation += rot;
if (_wIn)
if (_wIn && this.Position.Z > 3)
this.Translate(new Vector3(0, 0, (float)-delta*10));
if (_wOut)
if (_wOut && this.Position.Z < 12)
this.Translate(new Vector3(0, 0, (float)delta*10));
_con.Set("text", this.Rotation);
_con.Set("text", this.Position);
}
public override void _Input(InputEvent @event)