Can't tell what I've done wrong

Hi,

I was messing around in the Glitch Garden and somehow I managed to mess up how my cactus is snapping to the grid.

It’s snapping as can be seen to the left and down.

The core game area is in the right place:

I have debug logged the position I instantiate the cactus too and it’s giving the right place.

I can not figure out why it’s snapping wrong and I’ve gone blind just looking at it.

Any help is appreciated.

The code as well to add some extra.

Hi Murten,

If the target position for the cactus is correct but the cactus appears at the wrong position anyway, check the animation. Maybe the animation changed the position.


See also:

My savior.

THANK YOU!

Jesus Christ my computer was about to go out over the balcony!

//Martin

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms