|
Step6:)
I want to add some controllers of the ikas of the
arm in the Edit window.
It will ease animating,I
thought.
Draw out 3 ikas(name them 'R1','R2','R3')as shown below.
The one is for Ika3 Rot,the
one is for ika4 rot,the one is for ika5 rot.
The script for Ika3 is
import Blender
Blender.Object.Get("Ika3").RotX = Blender.link.RotY
The script for Ika4 is
import Blender
Blender.Object.Get("Ika4").RotZ = Blender.link.RotY-1
The script for Ika5 is
import Blender
Blender.Object.Get("Ika5").RotX = Blender.link.RotY
Parent the ika1 to 'R1','R2','R3'.(Ctrl+P)and
select arm and hit Alt+P
Select all ikas(Ika1 must be bright pink) and hit Ctrl+K and
parent ika1 to arm.
Because those ikas doesn't work well without
parenting.
And link these scripts with these ikas as before.
You see it works well.
|