godotengine/godot-3d-dodge-the-creeps

moving Path with the Player

Opened this issue · 0 comments

Lets type that I want to set a bigger map. I could use a bigger Path but lets type that I want yours Path size (matching the camera bounds) and move it with the player. There is a better way to do it instead changing the .translation on Main.gd (line number 30) and in Mob.gd (line 20) for .global_transform ? Of course I will need to make Path as a child of Player and change its location on initialize function on Main.gd (line 22).