Hello,
I have 1 problem, i hope some might help me.
I have hero with shield. (To move hero i am using setVelocity to its physicsBody)
I have many monster. (To move monsters i am also using setVelocity)
I want monsters to not go through shield.
This scenario only occurs if enemy and hero is moving one into each other (Monster penetrates shield physics body). If hero is standing monster just keep bumping into the shield.
Question:
How to make monster not to go through shield?
If some code is needed just ask.
Sorry if i miss something.