How Do I Remove Red Navigation Lines from CharacterBody3Ds

Godot Version

C# 4.3.Stable.Mono

Question

I’m using a NavigationAgent3D node to move CharacterBody3D enemies on a map. They have little red lines that show up in gameplay that point to their destination. How do I make them not visible?

Enemy Patrol Code

characterNode.AnimPlayerNode.Play(GameConstants.ANIM_MOVE);
pointIndex = Mathf.Wrap(pointIndex + 1, 0, characterNode.PathNode.Curve.PointCount);
destination = GetPointGloablPosition(pointIndex);
characterNode.AgentNode.TargetPosition = destination;

Enemy Chase Player Code

destination = target.GlobalPosition;
characterNode.AgentNode.TargetPosition = destination;

Right after I posted this, I found that I had turned Debug → Enabled to On. Turning it off solved my problem.

Where is this option? I dont see this in the Debug dropdown

It’s not in the drop-down. It’s in the NavigationAgent3D node.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.