Hey guys, been searching for awhile but haven’t been able to find a resolution the problem I’m having. Currently I’m working on a 2D RPG using Unity 3d and 2D Toolkit, but am having a heck of a time with invisible walls of all things.
On my player I’ve got a rigid body with Kinematic and Gravity unchecked as well as a capsule collider with a very basic Movement and Animation script. On my Invisible walls I’m just using squares with Box colliders and no rigid body. The thing is that I can make the collision with the box just fine, but if I touch any corner of the box my character starts to rotate and starts drifting slowly away from the box from the box, I solved part of the rotation problem by attaching a Configurable joint on my character but still seem to have both issues, any help would be greatly appreciated!
I forgot to mention last night I tried applying the Character Controller to the player as well, and he seems to just want to go through the object. If I attach a Rigidbody to my invisible wall and uncheck Gravity and Is Kinematic then the cube gets knocked away from the player, but lets me know that my player is making contact. Sorry, I’m sure this is something brain dead simple. I’m really only using the Y and X axis as it’s a top down game.
Ah thanks! The problem was that I wasn't using move or simplemove, so the character controller collider was having problems, all fixed now!
– ChristmasGT