New movement angle function