SFML community forums
Help => Graphics => Topic started by: geoteam on April 02, 2012, 03:58:34 am
-
I am using SFML in my collision detection code but i need help once the two object collide i need them to be solid but i am completely lost. Can someone help me with this?
-
What do you mean by "solid"?
-
Do you mean the two objects should combine into one?
If so, then you could try using a rendertexture and rendering both sprites onto it.
-
what i trying to say is when i have a collision i need to move the object outside of the other object giving the illusion that it is solid and all the things i have tried give me weird errors where it will resolve to the other side of the object and other stuff like that