Is there a simple way to get the zaxis rotation?
I guess I want the “get” equivalent of
rotationDegrees = componentInstance.transformation.zaxis.getDegrees???
I have seen similar questions whose solution says to use
But these both return 0. I have also seen some crazy long math equations that say they will get results that are not entirely accurate.
Any help would be greatly appreciated. Otherwise I will have to modify my component programmatically and then make the user rotate it manually. I also want to use this to rotate other component instances to match the selected entity’s rotation. Doing that manually is not a good option.