Joint Stretching Problem

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  12 December 2017
Joint Stretching Problem

Hi Guys, I have a problem withStretching of Joints. As you can see, when the controller moving and the joints seems to be like dragged.
I have added the scripts into expression editor and it looks like this:

$ref_length = distanceDimensionShape1.distance + distanceDimensionShape2.distance;
$ik_length = IK_distanceDimensionShape.distance;
if($ik_length >= $ref_length){
ik_jnt2.scaleX = $ik_length/$ref_length;
ik_jnt2.scaleX = 1;

I put the scripts into another joints as well.
is there anyone could help me? Thanks
  01 January 2018
What is the question?
It is quite dificult to tell without knowing what is what in the scene.

I would not do it with expressions, it is way better to use maya utility nodes, in this case a condition node for the if/else statement and multiply/divide nodes for the scaling factor.
To put this expression on other limbs you need to make copies of it and replace the names.
the one button to render them all
reply share thread

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 05:51 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.