triggerCondition(lambda: getTrigger() == crane_ready ) newMtx = vcMatrix.new(comp.InverseWorldPositionMatrix * toComp.WorldPositionMatrix * locationMatrix) goY = newMtx.P.Y goZ = newMtx.P.Z - gripper.ProcessHeight servo.move(goY, goZ) print (newMtx)
I want to ask how the code (comp.InverseWorldPositionMatrix * toComp.WorldPositionMatrix * locationMatrix) multiplies these three to get newMtx and then take the Y and Z axis coordinates.
I see that the value obtained by newMtx is<vcMatrix object at 0x0000000034A089D8> but I can’t understand the meaning.