Need help for Bone Angles Changing Script

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
HardikLakhalani
Posts: 19
Joined: Mon Jan 18, 2016 9:32 am

Need help for Bone Angles Changing Script

Post by HardikLakhalani »

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.
Last edited by HardikLakhalani on Sun Jun 26, 2016 11:17 am, edited 1 time in total.
User avatar
synthsin75
Posts: 10028
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Need help for Bone Angles Changing Script

Post by synthsin75 »

Count through the bones and check if bone.fSelected == true.
Post Reply