[SOLVED] Same Vector Different Position

Hey there,

I am a bit of struggeling with some kinda strange Vector2 issue or problem (whatever you want to call it)
My player and the enemy are having the same Y-Position but still have a different visual Y-Position

The "android thing is a further down than the player.

I guess I just fcked up something but I don’t get what.

Maybe you can help me :confused:

In order to help you we need to understand what’s going on here. Please share your drawing logic and the debugger logic which displays the positions in the top left corner.

Code for the debug information:

and here my Drawing logic for the two sprites in my enemy and player class

Player:

Enemy:

I think I got it…
I completly forgot that the vector2 is in the center of my drawing… ok never mind :upside_down:

1 Like