Looking for an embedded script (to force bone direction)

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Lukas
Posts: 1296
Joined: Fri Apr 09, 2010 9:00 am
Location: Netherlands
Contact:

Looking for an embedded script (to force bone direction)

Post by Lukas »

I can't find it on the forum anymore. Someone posted it somewhere... If anyone knows where I can find it (for ASP9), you'd help out a lot!


The embedded script looks for a bone you have to name 'Dangler' (I think), and it forces the direction to ALWAYS go down/right/whatever you set it to. So it counters all layer rotation/parent bone rotation.

Hope anyone knows who made it and where it is, I could use it right now.. Thanks!
User avatar
Víctor Paredes
Site Admin
Posts: 5658
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Re: Looking for an embedded script (to force bone direction)

Post by Víctor Paredes »

Here is it:
viewtopic.php?t=1928

I used this script before, but sometimes it presented problems.There is an alternative technique called "gravity star", created by super8mm. It's basically adding little bones with angle constraint -1 for each bone of the chain. So, if you have a chain of six bones, in the point you create six little bones "nullifying" the rotation of each one.
viewtopic.php?t=15726
It takes a little more time to make, but works very well.
Image Image Image Image
Moho Product Manager

www.mohoanimation.com
Rigged animation supervisor in My father's dragon - Lead Moho artist in Wolfwalkers - Cartoon Saloon - My personal Youtube Channel
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Re: Looking for an embedded script (to force bone direction)

Post by Genete »

viewtopic.php?f=12&t=1928&p=10402&hilit=DANGLER#p10402
What days those were!
-G
EDIT: Selgin you won me by a minute!
User avatar
Squeakydave
Posts: 328
Joined: Tue Aug 03, 2004 9:44 pm
Location: UK - London-ish
Contact:

Re: Looking for an embedded script (to force bone direction)

Post by Squeakydave »

'gravity star' sounds interesting. Does any one have the example file the link is dead.?
User avatar
Lukas
Posts: 1296
Joined: Fri Apr 09, 2010 9:00 am
Location: Netherlands
Contact:

Re: Looking for an embedded script (to force bone direction)

Post by Lukas »

Thanks guys :) This script saved me many HOURS of work. Or at least, it made animating super-easy instead of a pain in the ass.
Post Reply