I am not sure how to explain my problem.
The position of the player coordinates does not match the position of the player script/image.
This is a problem when I am trying to Clamp player position as the 0,0 coordinates does not match with the position of the player in the scene.
Hopefully with the screenshot my problem is more clear.
What can I do? Thanks a lot in advance and sorry for asking so many questions.
Ps: Apologies for my spelling mistakes. English is not my first language.
possibly have a look in the player scene.
check the transform of the sprite2D is at 0,0, then if its not, then you will have to move the collision shape and the particles to make sure its all in the right place.
so you will basically have the green and red lines going through the middle of the player.
see if that helps at all.
Thank you very much for your help.
It was that.
No worries, glad it’s working for you
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.