Get look at rotation code

Hey,

working with quaterions and I’d like to use the code from get look at rotation in my own function. Wondering where I find the code snippet for this function?

thanks

Hi @Sirens_uk. GetLookAtRotation is a C++ node, but oddly enough, the source code is available in the omni.graph.nodes extension: omni.graph.nodes\omni\graph\nodes\ogn\nodes\math\OgnGetLookAtRotation.cpp

Hey mati, but i’m not sure where or how i access the omni.graph.nodes directory? I take it, it would be via vscode?

I’m just not up to speed on this.

Thanks