|Topic was automatically imported from the old Question2Answer platform.
So i have a problem setting the position i am new to godot so everything was fine but suddenly my player(kinematic body 2d) doesnt spawn where it should for example i put it somewhere in the scene maybe 100,50 once i start the scene the player is somewhere completely different like 500,30 or something it happened to me before i kept messing around and solved it but now i cant ,i did some googling and saw a bunch of stuff about local and global position but i still cant do it
Without concrete examples of how you place the player, how the position is updated, we can’t give concrete help.
About local and global positions:
- local is relative to the parents location
- global is relative to the world origin
If you mix and match which ones you work with unintentionally, you can get unexpected results.
zhyrin | 2023-03-23 09:24
I place the player by dragging the player.tscn file into the scene and update the position by move and slide method thx in advance
moazdeyaa | 2023-03-23 10:31