I would like to get a float number of a specific rotation of an object.
For example the Z rotation of an object.
I have tried this:
rZ = obj.localOrientation
But this gives me this:
Vector((0.0, 0.0, 1.0))
How do I get just the 1.0?
obj.localOrientation.z doesn’t work. It does work with the position.
Is there a way how to do it?