- Home /
Question by
Kubilord · May 13, 2020 at 09:41 AM ·
animationcameragameobject
Changing position of game object during animation
Hello guys,
I have a problem with animation. The first picture is a part of my animation where is tree in front of the hill. And thats what I want, but how animation continues, the tree is suddenly behind the hill how you can see in the second picture. In coordinate system is the tree in front from the hill so I don't understand why the tree jump behind the hill during a camera animation.
pic 1
pic 2
Can someone please help me? Thanks a Lot
vystrizek1.png
(13.1 kB)
vystrizek2.png
(19.4 kB)
Comment
Best Answer
Answer by TempleStudios · May 13, 2020 at 10:09 AM
Try changing the tree's Ordering layer in the Sprite renderer to higher than the hill's