Hello everyone.
I’ve just started a new project using a character controller and have noticed that CharacterController.SimpleMove doesn’t work with coroutines or animation events. Using the normal move function works fine.
This code won’t do anything:
IEnumerator Move()
{
yield return new WaitForSeconds(1F);
characterController.SimpleMove(moveDirection * 25f);
}
This will move the character but with no delay of course:
IEnumerator Move()
{
characterController.SimpleMove(moveDirection * 25f);
yield return new WaitForSeconds(1F);
}
Is this a bug?
Cheers