Exemplo n.º 1
0
 private void _UpdateRotation(KinematicBody2D parent, float delta)
 {
     if (_steering != null && _steering.HorizontalAxis != 0f)
     {
         parent.Rotate(delta * _steering.AngularChange);
     }
 }