This is not meant to be used on 3D objects.
If you want to be able to rotate 3D objects in 3D, use Mikal's rotate 3D behavior:
kindeyegames.itch.io/construct-3-rotate-3d-behavior