0 votes

I have a scene with a Path2D that some agents follow. The scene script has a function that the agent script uses to get Path2D info like closest offset and direction.

Now I created an inherited scene to make exactly the same but with a different path. This scene uses the same 2 scripts but I changed the Path2D curves.

I noticed that this changed the original scene Path2D, but the position is different. Now, when I play the new scene, the agent is following the original scene Path (which is the same but in a different position). I tickled the Local To Scene in the Path2D resource and even created a new Path2D and referenced its name from the script instead of the old one, but the agent keep following the original path (even though is not longer referenced anywhere)

What am I doing wrong?

Godot version 3.5
in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.