Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Sinsis | |
Old Version | Published before Godot 3 was released. |
I am trying to move an actor beyond the initial screen edge, which is not working out for me.
I have a camera that pans, so I am moving beyond the initial position of where the screen ended, but when I have my Nav2D calculate a path for the actor it stops at the original screen edge.
As an extra test I have also tried resizing the screen and then it DOES move a little bit further, but stops at the new edge.
Here is an output of one such a movement event:
Calculating path...
Position actor:
(2002.339355, 1037.109009)
Coordinates goal:
(3012.104004, 1003.308044)
Path:
[(2001.592407, 1037.110718), (2001.51416, 1005.836548)]" `
Code of this call in question:
path = nav.get_simple_path(get_position(), coordinates, false)
Is this something I can fix somehow?
Cheers!