Exemple #1
0
        public override void SubclassUpdate(float seconds)
        {
            base.SubclassUpdate(seconds);

            this.Velocity = PhysicsUtils.MoveTowardBounded(this.Velocity, this.TargetVelocity, this.Acceleration * seconds);
        }