Amazing hidden feature: Flexible bone locking

Have you come up with a good Moho trick? Need help solving an animation problem? Come on in.

Moderators: Víctor Paredes, Belgarath, slowtiger

User avatar
Víctor Paredes
Site Admin
Posts: 5646
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Amazing hidden feature: Flexible bone locking

Post by Víctor Paredes »

Hi guys, at office we discovered (or created...) a fantastic feature: the possibility of lock bones with movement.

Take a look on this file
http://www.mediafire.com/?gzzymnyzjiy
For all walks you see there, we only created one normal walk as base and then just move the parent bone to create several uniques walks.

Please! try with the "no movement" layer: move the parent bone on time to create your own cycle. The body will move, but the feet will be always on their original place! just like locked bones, but in movement!

I don't know if you are as excited as me, but this is a HUGE hidden feature which will make life a lot easier.

Now, how it works
First, create your animated walk (or whatever) as normal, then just lock each keyframe: All the secret is to lock each foot on all keyframes, but in backwards. I mean, first lock it on frame 24, then on 23, then on 22, then on 21... until the first one.

it is fantastic, isn't it? :D

It would be great something like this could be implemented "officially", or at least there would be an easy way to create it via scripting.
What do you think?
(please, I really need feedback, we discovered it friday night and just now I have time to publish it, I have been all weekend thinking about!)
User avatar
heyvern
Posts: 7035
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

WoooHOOOOOO!!!

This is cool as freaking HECK! No wonder you are excited!!!

A long time ago I discovered the trick of locking bones "in reverse" but only did it like one time for a specific project and never expanded on it or even dreamed it could be used like this.

I can't wait to play around with this some more. I have 3 characters all walking and skipping through a meadow and this would really speed up the process of getting some interesting variety in the cycles.

p.s. Yes, scripting the keys would make sense. It all depends though on how AS "calculates" the keys for OTHER bones. When you key the bone locking it uses the IK solver to determine the bone rotations. Doing this with a script might not give the same results. Worth a shot though.

-vern
User avatar
J. Baker
Posts: 1063
Joined: Wed Mar 23, 2005 7:22 pm
Location: USA
Contact:

Post by J. Baker »

That is awesome! It definitely makes it easier to add some character to a walk cycle. :D
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

This is officially the "Selgin's Locked walk cycle technique". :)

Congratulations!!!!

-G
arfa
Posts: 244
Joined: Tue Dec 23, 2008 8:15 pm
Location: New Zealand

Post by arfa »

That is so cool........ :shock:

Walk cycles are for sure one of my bugaboos and this gives a way to play about ---- with pizazz.

Many thanks for posting the example. I will watch for further development with much interest.

Thanks - arfa
User avatar
ulrik
Posts: 1087
Joined: Thu Aug 11, 2005 10:32 pm
Location: Stockholm Sweden
Contact:

Post by ulrik »

That is cool Selgin, great discovery!!
User avatar
toonertime
Posts: 595
Joined: Tue Feb 27, 2007 8:34 am
Location: ST. LOUIS

Post by toonertime »

boo hoo for us 5.7 users!
User avatar
Víctor Paredes
Site Admin
Posts: 5646
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

toonertime wrote:boo hoo for us 5.7 users!
Sorry, here you have a version on 5.6 I just made
http://www.mediafire.com/?lzmnum2mjj0
User avatar
Blue
Posts: 157
Joined: Fri Jul 03, 2009 1:55 am
Location: Los Angeles
Contact:

Post by Blue »

Dude, the snake technique and now this?! I think someone's shooting for MVP of the year...and I know who I'm voting for.
joelstoryboards.com - (WinXP SP3, ASP 6.1)
User avatar
heyvern
Posts: 7035
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

Dagnabbit! I played with your silly walk dude file for A FREAKING HOUR! ;) It's so... dang FLEXIBLE. Sneaking walks... walk against a wind... strutting... all with the exact same stride length. I even played with bone scale and "squetch" and it STILL works.

I was thinking how to make this easier to use for a character moving across the screen:

You have a fixed distance between the two foot bones. The feet are off the ground for a set number of frames then "stick" to the ground and slide "back" for a set number of frames. The stride length would be calculated from the contact points when both feet touch the ground.

A script would then use the number of frames between the two contact points and the distance between the two foot bones to determine the distance to move either a layer or a root bone. The issue would be whether the forward motion is "linear".

My thought is the script would use the translation of the bones and "match it" in "reverse" to create a forward motion that matches the stride length and TIMING. A straight linear motion wouldn't work because there might be variations in the walk.

The good news... the information needed IS RIGHT THERE IN THE KEY FRAMES!

-vern
User avatar
tonym
Posts: 328
Joined: Thu Jan 20, 2005 4:23 pm
Location: Missouri

Post by tonym »

Thank you, selgin!
wena
Posts: 107
Joined: Wed Jul 09, 2008 9:31 pm

Amazing hidden feature: Flexible bone locking

Post by wena »

Please selgin

Could I have a copy of the Flexible bone locking I just failed to download it.

Wena
User avatar
Víctor Paredes
Site Admin
Posts: 5646
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Re: Amazing hidden feature: Flexible bone locking

Post by Víctor Paredes »

wena wrote:Please selgin

Could I have a copy of the Flexible bone locking I just failed to download it.
http://www.zshare.net/download/6649074936919a7d/
http://www.megaupload.com/?d=2TV0QMWG
http://depositfiles.com/es/files/30akw5fb3
Here you have 3 servers with the archive, so you really should be able to download the file at least from one :wink:
wena
Posts: 107
Joined: Wed Jul 09, 2008 9:31 pm

Amazing hidden feature: Flexible bone locking

Post by wena »

Thank you Selgin, I wish I could re-pay all of you for your kindness.

Wena
User avatar
dsaenz825
Posts: 97
Joined: Tue Feb 05, 2008 4:51 pm
Location: Texas
Contact:

Post by dsaenz825 »

I managed to look at it yesterday, and man I wish I knew this before.
Its so simple yet very effective. :twisted:
I love comments for they help me improve on my weaknesses.
Post Reply