Well the scale values will act differently depending on scale compensation
and whether your joints are part of the same hierarchy, your math will have
to take that into account.

if I modify the curve and then change the joint scale by hand in the
channel box, the joints moves to the expected position…

In that case it sounds like a dirty-propagation issue. Does it happen in
both the old and new viewports?
​

On 25 June 2015 at 15:44, Ignacio Urruty <[email protected]> wrote:

> :/ No, that's not the issue...
> The Scale values are ok... is like need a refresh in some step... if I
> modify the curve and then change the joint scale by hand in the channel
> box, the joints moves to the expected position...
>
> On Thu, Jun 25, 2015 at 11:30 AM, Marcus Ottosson <[email protected]>
> wrote:
>
>> Double check scale compensation on the joints. In the attribute editor,
>> there's a toggle for it.
>>
>> On 25 June 2015 at 15:27, Skarone <[email protected]> wrote:
>>
>>> I'm trying to create a custom Ik Spline Solver, with stretch in joints..
>>> The rotation part of the joints works perfect, but when I try to apply
>>> scale to the joints, they scale more than they should, but if I check their
>>> scales values are correct..
>>> I just save the initial length of the curve, and then check the current
>>> length and get the scale value from that ( currentCurveLength /
>>> initialCurveLength ).. the math is very simple..
>>>
>>> I tried the code in python and in C++, both are getting the same issue.
>>> I didn't found any information on how the solver really works..
>>> Also I didn't found how to make the solver a real spline solver, because
>>> for now is detected as a simple ik solver..
>>>
>>> If someone has some information in this topic and could help me :)
>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Python Programming for Autodesk Maya" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/python_inside_maya/364e595a-d51b-4fa3-b936-f59761ae931a%40googlegroups.com
>>> <https://groups.google.com/d/msgid/python_inside_maya/364e595a-d51b-4fa3-b936-f59761ae931a%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> *Marcus Ottosson*
>> [email protected]
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOAT4oxB-FfX%2BV8V1XqLOONQHyXqZg7s17Vf-i%3Drj%3D%2BuiA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOAT4oxB-FfX%2BV8V1XqLOONQHyXqZg7s17Vf-i%3Drj%3D%2BuiA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CADtFqCkhgwiJsuEiM79EWG5EXyBYd0%3DzC175jY2FhHQEV_n3YA%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CADtFqCkhgwiJsuEiM79EWG5EXyBYd0%3DzC175jY2FhHQEV_n3YA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Marcus Ottosson*
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBoZbb2e3_5oZPnVhVz51zu%2BSCkJQPe965UR2vM8uQTjA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to