Go Back   Lightwave Community at SimplyLightwave > Categories > Animation
Register FAQ Members List Calendar

Reply
 
Thread Tools
Old 06-05-2008, 01:18 PM   #1
Starider57
Registered Member
 
Join Date: Jan 2005
Posts: 11
Question Four legged walk cycle

I im trying to make a four legged spider like robot walk using IK. I am having troubles with figuring out exactly how the walk cycle should be, and have trouble getting the legs to bend how I want them, they want to twist not quite right. I have set up limits for each piece. The legs are to be snake like and are made up of about 30 seperate pieces. I have attached the scene file and object to look at and tell me what I am doing wrong. using LW9.3

Please help!
Attached Files
File Type: zip spider.zip (102.7 KB, 3 views)
Starider57 is offline   Reply With Quote
Old 07-05-2008, 02:55 AM   #2
NoStr0m0
Registered Member
 
NoStr0m0's Avatar
 
Join Date: Jan 2005
Location: Somewhere... in 3D space
Posts: 153
Default

Do NOT parent the Goals to the IK chain.

Ok, that took me the most to figure out. Cause the goals simply wouldn't move.
Anyway, set the Heading, Pitch and Bank Controlers (under the Motion tab, shortcut M) to Inverse Kinematics, and set a corresponding stiffness so the motion has some resistance.
Ok, now, for the last bone/piece of the chain, the one closest to the goal object. Hit M, chose Goal object( in your case Null (1-4)) and mark the Full-time IK and Keep Goal in reach, set a goal strength of 100 to 10000000000, depending on what you'd like.

Now, a few notes on IK. It's not always easy to control, when you cross over the original position it tends to jump. You'll see what I mean. Also, I would recommend first posing your robot, then set the IK, cause it's a lot easier for the computer to calculate the IK based on preexisting bends, it also gives fewer errors. So bend the legs into position before you set the IK up.

Watch some IK tutorials. The Zombie one is really good, down at KurvStudios I think.
You'll learn how to better create and control your IK chains, add secondary goals and a lot more.

Here's your scene with an IK leg to show you how to do it.

Others could have more valuable advice, or you could find out stuff for yourself. Just keep playing.

Cheers!
Attached Files
File Type: zip ik_leg.zip (113.7 KB, 8 views)
__________________
" ...'till the world burned!"
NoStr0m0 is offline   Reply With Quote
Old 08-05-2008, 11:18 AM   #3
Starider57
Registered Member
 
Join Date: Jan 2005
Posts: 11
Smile

Thanks for the help, and the work on the file. Yes, I defiantly need to earn more about IK. And I also appreciate web sites like this for being there to find help.
Starider57 is offline   Reply With Quote
Old 12-05-2008, 11:48 PM   #4
rwhunt99
Full Access Member
 
Join Date: Jul 2004
Location: Northern Indiana
Posts: 243
Default

When it comes to animation, you need to remember to first brebend your character and get the bones bent to match, LW needs to find out which way the joint is supposed to bend.

set up a rest pose, by first selecting all (bones) (select one bone, then click the middle mouse button and drag over the skeleton then hit the r key. Hit enter and set your key frame to >for all items. Set the frame for something like frame negative 10, then hit enter again and reset the keyframe to only selected, and also back to frame 0, to reset everything and prevent needless keyframes.

When posing, if you notice LW has the rotational translation set as Heading, Pitch, Bank. It's done that way for a reason - the rotations are Hierarchical, always set your heading first, then the pitch, then the bank. You will get good movement that way without the "IK pop" that is a common problem.

There are many good tutes out there that explain the process in much greater detail > Jonny Gorden's book "Cartoon Charcter animation Volume two" is a great book, Timothy albee has another video that's great, Larry Schultz has a great set of tutes also
Good Luck :beer:
__________________
Exploring the world around me
rwhunt99 is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Tutorial: Walk cycle Fallenswordsman Members Lounge 6 01-03-2021 01:05 PM
Addon from the walking cycle tutorial. vampmaster Animation 2 19-06-2008 03:03 PM
4 legged worm bullet_evader W.I.P 8 14-03-2006 08:49 AM


Forum Jump




Online since 2001
A good place to start for a newbie
Catch up with SimplyLightWave
SimplyLightWave was first started in London 14 years ago, and we've been dedicated to producing quality software training ever since. Faithful to the principle of learning by doing, our project based courses aim to give you the practical skills to quickly start creating your own work in LightWave. More...
Copyright © 2001-2018 SimplyLightWave | Terms & Conditions | Privacy Policy
/* Contact Form */