I’m using locomotion, I added some colliders to children of Enemie character, such as head, chest, legs and arms (to find out where the bullet hit the Enemie). And I changed maskLayer of main body of Enemie to a non-default layer to ignore raycasts to collider which locomotion uses.
Now the problem is, the main player which also uses locomotion but has none of above colliders, after a random time, passes the ground such as there is no colliders attached to it…
Any solution?
Just to clarify this, are you saying that adding colliders to the enemy seems to stop the player’s colliders from working?
Yes that’s right. Seems like it has something to do with locomotion I think.