Instead of: $StateA = `xform -query -objectSpace -translation pSphere1`; try this so that you have array: float $StateA[] = `xform -query -objectSpace -translation pSphere1`; then the same for $StateB
Hello awesome polycount folks, I'm currently digging into more advanced rigging techniques, just started scritping and I've a probably easy mel scripting question. I want to have a single Enum attribute "slider" that changes the translation of an object (to later on snap locators to each others and switch through different…