- Edited
I am spawning new cubes per button click via
var cube = cube_scene.instantiate()
var spawn_location = get_node("Path3D Camera/PathFollow3D")
spawn_location.progress_ratio = randf()
cube.position = spawn_location.position
add_child(cube)
and now I also want it to travel along PathFollow3D - how do I assign that path to the cube?