public void addCustomizedJoint(int jointIdx, SSCustomizedJoint parJoint)
        {
            SSCustomizedJointsController ctrl = null;

            if (_channelControllers.Count > 0)
            {
                // avoid adding chains of parametric joint controllers if they can be combined
                // in one controller
                ctrl = _channelControllers [_channelControllers.Count - 1] as SSCustomizedJointsController;
            }
            if (ctrl == null)
            {
                ctrl = new SSCustomizedJointsController();
                addController(ctrl);
            }
            ctrl.addJoint(jointIdx, parJoint);
        }
 public void addCustomizedJoint(string jointName, SSCustomizedJoint parJoint)
 {
     addCustomizedJoint(_hierarchy.jointIndex(jointName), parJoint);
 }
 public void addJoint(int jointIdx, SSCustomizedJoint joint)
 {
     _joints [jointIdx] = joint;
 }
Exemplo n.º 4
0
 public void addJoint(int jointIdx, SSCustomizedJoint joint)
 {
     _joints [jointIdx] = joint;
 }