예제 #1
0
 public bool VelocityRotation(Vector vel, Vector?rot, Vector?mouseFwd, bool isMegaThrust)
 {
     if (!this.Game.WorldData.BoundingBox.Contains2d(Position + vel * .051f))
     {
         return(false);
     }
     this.Velocity = vel;
     //  this.SetPositions(Position + vel * .05f, Position, (Vector)rot, Rotation);
     Operations.VelocityRot(this.Game, this.Id, vel, rot, mouseFwd, isMegaThrust, this.Game.Settings.SendReliable);
     return(true);
 }