Hi,
I am not an experienced GODOT user. Actually I use the engine for less than a month
The answer for me, is to initialize the position in the _ready
function
But it is not working in my project.
Please view this video. You can see the orange platform,, to start from the upper left of the screen and not from the first waypoint as it should be
Here is the code in _ready
function:
func _ready():
if waypoints == null:
set_physics_process(false)
return
position = waypoints.getStartPos()
targetPos = waypoints.getNextPos()
timer.wait_time = 1.0
The project is very small and can be downloaded here