UPDATE: I have created a new demo to provide more clarity on the issue. This demonstration combines two existing fiddles that exhibit the same problem.
Desired outcome: My goal is for the imported object to be accessible in the same manner as 'cube' is.
Take a look at this scroll animation demo.
Observe how 'cube' is referenced in cube.position within the timeline:
timeline.add({
targets: cube.position,
x: 100,
y: 25,
z: -50,
duration: 2250,
update: camera.updateProjectionMatrix()
})
Here is an object demonstration. It functions as expected.
Now, let's take a look at my combined demo.
In my combined demo, when attempting to replace cube.position with mesh.position in the timeline, it results in an undefined error.
Similar question on three.js forum