-
Notifications
You must be signed in to change notification settings - Fork 961
Description
when I focus an a node I would like my camera to stay parallel to its starting position.
at the start my camera is at position 0.0.Z and looking to 0.0.0 (it is looking down the Z axis)
when I click on a node I would like my camera to move to that node, look at it a the x and y of the node and a certain distance away from the z value of that node. this way my chart does not rotate which is confusing.
However the cameraPosition seems to lookto the node but towards the 0.0.0. This implies that the chart rotates when i use cameraposition. this I believe because if I do not specify lookat, it defaults to 0.0.0
is there a way to create this behavior ? If not I need to create a special tween for threejs but who can integrate that in the animation loop ?