I’m trying to make the character in the character demo also walk sideways. At the moment he can move forward and back or rotate left or right via arrow keys but not laterally.
Might there be a clue here?
if (keyForward)
{
if (walkDirection.length == 0)
{
_animationController.play("walk", _stateTransition);
_animationController.playbackSpeed = 1;
}
walkDirection = character.ghostObject.front;
walkDirection.scaleBy(walkSpeed);
character.setWalkDirection(walkDirection);
}