So basically i’m trying to make a fighter and stop the 2 characters from moving too close to each other. Each character has a rigidbody and a cube collider that is their “personal space”, ie how close they can get to each other. I’m using my own controller script, for one because i want to and for another because i’m having some trouble with locking certain axes with the supplied ones.
The problem i have is that when a character moves into another character it pushes that character. I don’t want that but i cant seem to figure out how to stop it happening. Only way i can think of is to stop any movement on that axis when this specific collision occurs but there should be some other more elegant solution. Any ideas?
If this has been asked i apologize but i can’t find where