Camera Track constraint with Geometry nodes

I’m trying to create a camera track-to setup in Geometry Nodes that will allow me to control both the location and the target from the same group - I’ve watched a few tutorials on YouTube but they always require 2 separate GN objects which I find cumbersome…

I’ve managed to create my 2 individual Location & Target positions by forking out from the original transform, the problem now is that I can’t quite get them to align correctly (mostly on the Z-Axis seems to not line up)

I think maybe I’m missing or incorrectly inputting something on the Euler to Vector setup?

Any help would be greatly appreciated, thank you!

Camera Track_GN.blend (956.6 KB)

just try this:

result:

cam target gn