Help with a new node

Hi! I am trying to figure out how to implement a way to do (smooth rotations for third person). For this become simpler, i need to create a new node that will be used together with Mix Vector and Set Variable (i will try to make it independent from set variable, but i don’t know how yet). I have a good result but still need some work to work properly.

Current known issue: because it interpolates locations, when one location is parallel to another (when looking forward and press backward for example) the smooth does not happens.

Anyone that know a way to improve it (even in the node design) let me know.

Test the WIP here: