Question by
LoopTurn · Dec 24, 2021 at 12:47 AM ·
charactercontrollertransform.positioncharacter controllercharacter movementcharacter.move
Character Controller move overrides transform.position
I found a weird issue where when I called the CharacterController.move() function after earlier in my code setting the transform of the object the character controller was attached to it would ignore the set position. I knew it was the CharacterController.move as I debugged and right after the .move function was called it would change the position, ignoring the set position. I found the fix was just disabling the character controller before setting the position then re-enabling it. I was wondering if anyone knew why this happens and why this fix works?
Comment