When i pause the game using this script
Now when i pause my ai characters stop moving
But when i unpause, the characters fall through the ground and give a NaN error
Heres the script that causes the error
the error is with this line
**character.SimpleMove(transform.TransformDirection(computer.deltaPosition)/Time.deltaTime);**
and the error is
transform.positionWithLocalOffset assign attempt for ‘MuhZomb(Clone)’ is not valid. Input positionWithLocalOffset is { NaN, -2.799626, NaN }.
UnityEngine.CharacterController:SimpleMove(Vector3)
Any help would be appreciated
** It actually happens when i pause, the characters just dis-appear **