Question by
indie6 · Jan 03, 2016 at 07:44 AM ·
angletrigonometry
How to set face direction?
Figure 1 shows the hero moving in the direction of the arrow. When it hits the obstacle... I want him to face the direction shown in figure 2.. how can this be done in unity's 2D system? I know this has something to do with normal but I am just not good at vector mathematics..
ques.png
(10.6 kB)
Comment