I am trying to create a lamp with a flexible metal arm. The metal arm is modeled with a curve that is modified by geometry nodes. I want to attach the lamp "head" to the end of the curve and obviously it should point in the direction that the curve points towards.
The blender documentation on Sample Curve - Tangent has this useful bit:
This output can be combined with the Align Euler to Vector Node to create a rotation that lines up with direction of the curve. Including the Normal output in a second align node after can align the other rotation axis.
But I just cannot make it work - for some combinations I can make it point almost in the right direction, but it will always be at least a little bit off.