Expression to rotate object along the path
So basically what I want to make is expression that rotates object along the path. But instead of directly turning to path, it should round up to closest right angle. For example, I want to move object from the center to top right corner. If horizontal velocity is higher than vertical - object should face to the right. And if vertical velocity is higher - object should turn face up.
Can't figure out myself, would appreciate the help
