Below is the foot coding for the plates moving each leg and foot. Taking this template I then coded the hands and face.
ma = attributes FootControls
(
parameters FootP rollout: FootR--put in attribute holders of the supporting controller
(
Banking type: #float ui: (BankingSp, BankingSl)
RollU type: #float ui: (RollUSp, RollUSl)
ToeSpin type: #float ui: (ToeSpinSp, ToeSpinSl)
HeelSpin type: #float ui: (HeelSpinSp, HeelSpinSl)
HeelUp type: #float ui: (HeelUpSp, HeelUpSl)
Tweak type: #float ui: (TweakSp, TweakSl)
Swivel type: #float ui: (SwivelSp, SwivelSl)
)
rollout FootR "Foot Controls"
(
button ResetBtn "Reset All"
spinner BankingSp "Banking" range: [-1,1,0]
slider BankingSl "" range: [-1,1,0]
spinner RollUSp "RollU" range: [0,1,0]
slider RollUSl "" range: [0,1,0]
spinner ToeSpinSp "Spin Toes" range: [-1,1,0]
slider ToeSpinSl "" range: [-1,1,0]
spinner HeelSpinSp "Spin Heel" range: [-1,1,0]
slider HeelSpinSl "" range: [-1,1,0]
spinner HeelUpSp "Raise Toe" range: [0,1,0]
slider HeelUpSl "" range: [0,1,0]
spinner TweakSp "Tweak Toes" range: [-1,1,0]
slider TweakSl "" range: [-1,1,0]
spinner SwivelSp "Swivel Knees" range: [-1,1,0]
slider SwivelSl "" range: [-1,1,0]
on ResetBtn pressed do
(
BankingSp.value = 0
RollUSp.value = 0
ToeSpinSp.value = 0
HeelSpinSp.value = 0
HeelUpSp.value = 0
TweakSp.value = 0
SwivelSp.value = 0
)
)
)
custAttributes.add $.modifiers [1] ma
$.modifiers[1].name = "Foot Controls"
No comments:
Post a Comment