Question by
idurvesh · Oct 03, 2015 at 06:13 PM ·
rotationquaternions
Child object looktowards waypoint
hi guys how can I let my child character looktowards upcoming waypoint which can be on curve,slopes,hill.I have tried sevaral scripts but they are not giving proper rotation across all direction.Most of concentrate only on Y axis.
I think this can be achieve using Atan2 method ,but not sure how to pass values to it.
Please help in,thanks.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612035921im_/https://answers.unity.com/themes/thub/images/avi.jpg)