- Home /
Question by
Roman_Gorbunov · Jun 22, 2017 at 01:00 PM ·
rotation3d model
Trageting 3D model in 2.5D world
Hello! I have a problem with point character to the right direction. The case is: I have 3D character with and 2D background. I've made a simple waypoint system, but problem is that lookAt function doesn't work properly when character moving from up to down.
Here is example of wrong behavior. http://joxi.ru/5md507qSvvlNa2
I need the right rotaion for this anmation. Any ideas how to calcuate rotation for 3d character based on waypounts, so it looks normal on 2D background?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612124703im_/https://answers.unity.com/themes/thub/images/avi.jpg)