1
Graphics / Re: [2.0] How to stop moving sprites from stacking onto each other?
« on: January 16, 2013, 12:14:09 pm »
Thanks for the replies, I will try the vector method.
But I made it a bit unclear.. I don't need it to be physically accurate, it's just so they don't overlap. The sprites should probably bounce the same amount (needed for the collision to end). Anyway, thanks for the suggestions, I'll get to work now
EDIT: The vector solution worked perfectly, though I had to reduce the size of the vector, since it was moving the sprites too far away.
But I made it a bit unclear.. I don't need it to be physically accurate, it's just so they don't overlap. The sprites should probably bounce the same amount (needed for the collision to end). Anyway, thanks for the suggestions, I'll get to work now
EDIT: The vector solution worked perfectly, though I had to reduce the size of the vector, since it was moving the sprites too far away.