I’m trying to build a chain but I have a specific aim axis that I require. The spine below the chain bends on the X axis but the chain builds in a way that is inconsistent and bends on the Z axis. I need to find a way to define the chain component so that I can decide how the “local rotation axis” of the controls are set up.
I would like to take a guess and say it’s in the component’s init.py around line 23:
class Component(component.Main): """Shifter component Class""" # ===================================================== # OBJECTS # ===================================================== def addObjects(self): """Add all the objects needed to create the component.""" self.normal = self.guide.blades["blade"].z * -1 self.binormal = self.guide.blades["blade"].x
EDIT: Nope, maybe it has to do with this part of the code but it would seem the change needs to happen at a more fundamental level. In the end I was forced to build my own chain with “control_01” components as Shifter respects the orientation of the guide in that case.