Beispiel #1
0
 public override void Update()
 {
     base.Update();
     time += Game.DeltaTime;
     RigidBody.SetYVelocity((float)Math.Sin(time * 20) * 250);
 }