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;