- Home /
Timeline send objects to zero position in play mode.
If I add a object to Timeline, timeline move object to (0,0,0) in preview mode. It's very annoying adding track offset field every time I add objects to play preview properly.
Weird things is that, if I did not filled track offset field and Play scene, their positions are totally random.
Some objects would play their animation on their original position in the scene while they play their animation on zero position in preview mode.
But some other objects play their animation after they moved to (0,0,0) position in play mode.
I check type of animation or model, root motion won't affect this issue.
I fount that objects which have animator controller on their animator component will keep their position on play mode while all other objects to position (0,0,0).
I knew recording transform position and override other animation tracks will be solve this randomness issue but that's not what I want, because it also override root motion.
Is this a bug? or timeline editor originally designed to send objects to zero position.
Answer by Zvika_ReaLife · Jul 08, 2018 at 08:52 AM
I came across with the same problem, and I fixed it with parent game object. But, there is a small trick: Create a new game object inside your problematic game object, the new game object gets the parent (0,0,0,) coordinates and this will be the origin coordinates. Then, put the old game object as a child to the new one and make all the positions as you like. Try a few times and you will get there.
Answer by seant_unity · Sep 11, 2017 at 12:31 PM
As you mentioned, objects with an animator component will keep their position in playmode, and all others will start from the origin and use the track and clip offsets to determine their positioning.
We are currently making a change so the starting position is a track option instead of being determined by the existence of a controller.
Is this feature available yet? I'm trying to call a Timeline once a door is opened that will cause a character to move across the room from wherever they are when they open the door, and doing so causes all sorts of issues. I've tried plenty of the strategies everyone came up with to get around the Timeline issues, but they don't seem to work. I have a 2017 edition of Unity, but do I need to upgrade to a 2018 version to get this feature?
Answer by epalm00 · May 24, 2018 at 03:35 AM
I think i am having the same problem, I have one gameobject that when in timeline is at the correct coordinates, but when is in the game will be moved to (0,0). The other gameobjects are where the should
Answer by nehalvNehal · Jan 19 at 11:09 AM
Hi, You can click on the animation on the timeline and change the position and rotation of the character or whatever object with animation.
You can also change the rotation also here. Just use the move or rotate tool inside that animation playable asset to move the object Or Manually give the position and rotation of the object.
Your answer
