What is the possible way to push the character out of a collider, when ignorecollision is undone?
Hello.
I have a character who can hold object (make a child of the character) and drop the object. When it holds an object, I call ignoreCollision on them, and when it drops the object, I want to have "move out" of the collider of the object, instead of getting stuck in the collider. I've been looking at some methods but most of them are quite different from what I need.. So is there a smart way to do this?
Comment
Answer by gamjatang · Sep 06, 2015 at 07:29 PM
Sorry I got it!! For anyone wondering, I used Mesh.bounds.size to get the mesh bounds and adjusted player position :)