Hi Esoteric Team,
My constraints have become a bit of a problem. I have two constraint set ups. One for heavy weapons, one for light weapons. When I switch between skins all the necessary constraints are activated based upon which Skin is selected. When I go to have the aiming direction augmented through the use of a path constraint the path misbehaves unless if I hit the reset button when you select constraints. I have to do this each time I want to use my pathing constraint on my rig.
The rig works like this. I have an IK transform constrained to another IK. That IK that controls the other IK has a path constraint to the aiming arch I have established in front of the character, that is for pistols etc.
The other rig has a path for the pump piece of the shotgun. The IK has a transform constraint to the pump piece of the shotguns bone. That bone then has a path constraint to the path of the pumping action I want. When the path moves the hand and everything works fine. Literally the problem is the constraints getting in the way of one another when I switch skins.
Any way to automatically have the constraints adjust themselves in the hierarchy based upon which Skin I select? In game if this is an issue in Spine but can be controlled in Code I could rig that myself if need be.
Thanks for all the support!
Tim
Update: I moved all of the joint constraints used for the pistols etc on top of the heavy weapon constraints as a group and it seems to be working just fine. I still would like to know if there is a way to do this in SPINE or at runtime however as I can see what I did being a bit hacky of a solution down the road.