T
Tom Barylov
Guest
Hello folks!
I have a couple of blocks in my room,than can be moved by player on a grid of 64x64.
if I stop them on collision, they stop. Problem is they are not on the grid anymore, since collision happens afer 1px crosses the other.
How do I solve that problem?
The block should collide and stop with others of its own kind or the wall.
I though of putting int a knockback of 1px. that would work for that project. I would like to code it on the block it self.
could someone help me out please?
Thanks!
I have a couple of blocks in my room,than can be moved by player on a grid of 64x64.
if I stop them on collision, they stop. Problem is they are not on the grid anymore, since collision happens afer 1px crosses the other.
How do I solve that problem?
The block should collide and stop with others of its own kind or the wall.
I though of putting int a knockback of 1px. that would work for that project. I would like to code it on the block it self.
could someone help me out please?
Thanks!