/// <summary> /// Returns the amount of time for this creature to rotate by the # of degrees /// from the input angle, using the omega speed from its MotionTable /// </summary> public virtual float GetRotateDelay(float angle) { var turnSpeed = MotionTable.GetTurnSpeed(MotionTableId); if (turnSpeed == 0.0f) return 0.0f; var rotateTime = Math.PI / turnSpeed / 180.0f * angle; return (float)rotateTime; }