Turn a rotation on its side

Want to share your Moho work? Post it here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Turn a rotation on its side

Post by Rasheed »

Image

This animation was made using some bone constraints, a layer script, and by rotating just one bone. It uses the circular motion and converts it into a horizontal motion, that resembles a rotation around the y axis.

See for the layer script this thread, or download this zip archive with the layer script and an example file. Embed the layer script in a bone layer, create some bones, and then some orphaned bones (root and no childeren) with the same name, but ".tmp" attached to it. It attaches each .tmp bones to its master bone like glue, using bone translation, even if its master bone is rotated, scaled or translated. You can then use this .tmp bone to control other bones in your animation, using horizontal and/or vertical bone constraints of these bones to the .tmp bones.

This should make a head turn much easier. Wait what Heyvern has in store for us...

Edit: Here is the source file: constraints.zip
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

Hi Rasheed. Great script development!.
I hope you don'n mind I comment some aspect of your "translate by rotation method" (or what ever other use it can be given :wink:)

There is a drawback if you us this script. The timeline is filled with keyframes for the bone.tmp bone. Even if you don't have any keyframe it creates the keyframe. It will not be very useful for refining animation because keyframing is lost. It is possible to avoid create the keyframe unless the master bone haven't anyone? This could help to use lineal, step, ease in/out values for animation.

Regards.
Genete
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

Changed a few characters in the script to do just that. Reload the zip archive.

If you want to set the keys in the Timeline for the .tmp slave bones, click on them with the Translate Bone tool.
Post Reply