I want to change Bone Angles on particular frames. Lets say I want to Make Eye Blink Script.
Eg: By Clicking Script Button/Command, It will Add Keys on Current Frame 90 Degrees - after 7 Frames 0 Degree - After 7 Frame 90 Degree.
BUT is should be done ONLY on selected Bones.
I DONT Know LUA/MOHO Scripting. I tried by referencing lines from other/default scripts, But failed due to lack of knowledge.
Need help for Bone Angles Changing Script
Moderators: Víctor Paredes, Belgarath, slowtiger
-
- Posts: 19
- Joined: Mon Jan 18, 2016 9:32 am
Need help for Bone Angles Changing Script
Last edited by HardikLakhalani on Sun Jun 26, 2016 11:17 am, edited 1 time in total.
- synthsin75
- Posts: 10028
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Need help for Bone Angles Changing Script
Count through the bones and check if bone.fSelected == true.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/