fixed player controller so it can be animated