No more KSP
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user