Added direction tracking for charactor to add facing animations later.