>: CG Forums on 3dtotal - The best forums for CG artists :.
threedy forums home
 


top-table-gradient
Go Back   3DTotal Forums > Help, Advice and Chat > Animation & Rigging Help
bottom-table-gradient

Reply
 
Thread Tools Display Modes
Old 30-03-2005, 05:31 PM   #1
goo_leo
Registered User
 
Join Date: Mar 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
max bones setting

hi people, I need help with the 3d max 5 bones. I need them to stretch (for example when the character in going to jump), to make it more elastic.
I know it has to be something with the max script but how??????????????
goo_leo is offline   Reply With Quote
Old 30-03-2005, 08:06 PM   #2
Clalan
Registered User
 
Clalan's Avatar
 
Join Date: Feb 2003
Location: Belgium
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Clalan
there are many ways to set up stretching limbs. you could create an IK leg that automaticly stretches out as you the end effector too far. you could create a normal IK leg with a squash / stretch attribute so you can control it manually. or you could make elastic legs, with crazy stretch and bends.

anyway, you can do it through scripting, but you can also do it through constraints. if you give me more details on how you would like to control the stretching then I could help you set it up.
__________________
-online portfolio-
Clalan is offline   Reply With Quote
Old 31-03-2005, 04:44 PM   #3
goo_leo
Registered User
 
Join Date: Mar 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
stretching

Exactly. I want my character limb to create a normal IK leg with a squash / stretch attribute so I can control it manually.
If you could explain me step by step how to do it, it would be great
goo_leo is offline   Reply With Quote
Old 31-03-2005, 07:15 PM   #4
Clalan
Registered User
 
Clalan's Avatar
 
Join Date: Feb 2003
Location: Belgium
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Clalan
hey,

I quickly threw something together which is a nice start, but there is a lot of room for improvement.

http://www.alanclaes.info/bounceleg.zip

check out ctrl_foot, it has a couple of custom attributes:
squash: max squash (0 - 100%)
stretch: max stretch (100 - 1000%)
bounce: this slider controls the amount of squash and stretch withing the limits set above.

for this setup I used float scripts. take a look at the x_position animation controllers for bone_lwrleg and null_leg. the x_position of a bone determines the length of the parent bone, so you can use this for stretching. I calculate a stretch ratio from the values of the custom and multiply this with the original parent bone length.

downside:
- the foot and hip will stay in the same position, so increasing the bones length will just push the knee further away... not very intuïtive while animating. I have an idea that would make it better, now just find the time to execute it
- float scripts can get slow.. I'll try to get everything working through constraints or expressions.

but anyway, take a look at this.. see if it's sorta what you are looking for.
__________________
-online portfolio-
Clalan is offline   Reply With Quote
Old 31-03-2005, 10:16 PM   #5
goo_leo
Registered User
 
Join Date: Mar 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
stretch

Thank you very much Clalan, i think that would be really helpful
goo_leo is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 02:39 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
all images displayed on this site are copyright the original artists and may not be reproduced, copied or published elsewhere without their express permission