Hello,
I'm having an issue where I'm trying to compare an object's relative transformation Vectors to another Vector.
As an example, if I print the values as such, I get a Vector with 0 values, just as can be seen in the Attributes Editor:
print obj[c4d.ID_BASEOBJECT_REL_POSITION]
#Vector(0, 0, 0)
If I compare the relative Position to a Vector with 0 values, however, it returns as False
.
print obj[c4d.ID_BASEOBJECT_REL_POSITION] == c4d.Vector(0, 0, 0)
#False
If I print the Position.x it returns an unexpected number:
print obj[c4d.ID_BASEOBJECT_REL_POSITION,c4d.VECTOR_X]
#-3.552713678800501e-15
Can anyone explain what is happening? My objects do have frozen transformation values, but it seems like the relative values should ignore these.
Thank you.