public sealed partial class Dedugan { private void DrawDebugGizmos() { Gizmo.Transform = global::Transform.Zero; Gizmo.Draw.LineThickness = 2f; Gizmo.Draw.IgnoreDepth = true; Gizmo.Draw.Color = Color.Blue; Gizmo.Draw.Arrow(WorldPosition, WorldPosition + (_up * 1200f)); Gizmo.Draw.Color = Color.Red; Gizmo.Draw.Arrow(WorldPosition, WorldPosition + (_forward * 1200f)); Gizmo.Draw.Color = Color.Green; Gizmo.Draw.Arrow(WorldPosition, WorldPosition + (_right * 1200f)); Gizmo.Draw.Color = Color.Black; Gizmo.Draw.Arrow(WorldPosition, WorldPosition + (-_up * 100f)); Gizmo.Draw.Color = Color.Magenta; Gizmo.Draw.Arrow(WorldPosition, WorldPosition + _wishDirection * 10f); var textStartPos = new Vector2(10f); Gizmo.Draw.ScreenText($"IsOnGround: {Controller.IsOnGround}", textStartPos); Gizmo.Draw.ScreenText($"IsSlipping: {Controller.IsSlipping}", textStartPos.WithY(30f)); Gizmo.Draw.ScreenText($"WishVelocity: {Controller.WishVelocity}", textStartPos.WithY(50f)); Gizmo.Draw.ScreenText($"Test: {Vector3.Dot(_right, _up)}", textStartPos.WithY(70f)); Gizmo.Draw.ScreenBiasedHalfCircle(WorldPosition, 3f); } }