Hi guys, sorry if I sound incoherent but this issue has been bugging me for quite a while and I honestly don't know what's going on. I use EasyPeasy FirstPersonController, which I modified heavily to do things like a simple state machine to choose speed, game-specific thinks and others. However, I noticed that when trying to walk around some of the corners in my game, the player just gets teleported into middle of nowhere.
I already tried
- Making sure there's only Character Controller and no other colliders (even one isTrigger collider)
- Changing Skin Width
- Modifying the script to catch NaN's if they somehow ended up thrown into the controller.Move()
- Setting mesh colliders of the walls to convex
- Stripping most of the controller script's methods, it occured even when there was a simple input read fed into controller.Move()
However, the issue still occurs and I honestly don't know what's going on. Some of the code has been made by AI, but like I said it occurs even when I pretty much rewrote the thing to be as simple as possible. I'm starting to think it's caused by the collider of the wall, but it's a simple mesh object. Has anyone met a problem like this?