Help with a new node

Hi! I am trying to figure out how to implement a way to do https://github.com/armory3d/armory/issues/1740 (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: https://drive.google.com/file/d/1h4tbc1qrMq60k0nPFfE9xB1X5Z8syc8E/view?usp=sharing