Issue with timeline : gameobject's transform changed
Hello,
I guess it's a silly one. But : i 'm trying to animate an object ( for example a door ) with timeline. So i set my animations and it works fine in the preview mode. But then, in the game mode, my door has disappeared ( its transform is set to a weird position), until the animation is launched. Then the doors appears and open. Of course, i would that door is present in the gameview before it' s open. Thanks for the advices !
Answer by tieum67 · Sep 14, 2017 at 06:42 AM
ok, i found the solution , it was quite obvious : the timeline asset shouldn't be a component of the gameobject. You have to create a timelineasset and then drag your object in it to build a new clip.
Do you mean that we can create animation with object and then drag the object with animation to the timeline?
Your answer
![](https://koobas.hobune.stream/wayback/20220612134708im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
timeline moves object with clip offset 1 Answer
TimeLine Issue with Game Object transform 2 Answers
Unintended behavior with setting the position of an animated character in a timeline. 0 Answers
Network Animations 0 Answers
Moving GameObject a specific distance in the Z direction and back again - regardless of rotation 1 Answer