Function missing from Basis type in v3.1

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Ertain

I’ve been hacking through the third person shooter demo, and I came across a function in the Basis type. in this line from the 3.1 version of the demo, it uses the function get_rotation_quat(), which is suppose to be a function in the Basis type. However, it is missing from the type, even though the documentation says that it’s in version 3.1 of the engine.

In any case, how can I recreate the get_rotation_quat() function so as to use the third person shooter code?

:bust_in_silhouette: Reply From: Magso

There’s no description for get_rotation_quat() but I’d assume that Quat(basis) would do the same thing. Also I can’t find any issue on GitHub about this so it might be worth mentioning it on there