APEX - Twist setup (with FK/IK)
917 2 1-
- randyMarsh
- Member
- 2 posts
- Joined: May 2015
- Offline
Hi!
Been looking at APEX and been giving it a try. Finding it fun and decided to re-create Rok Andic's twist rotation https://youtu.be/NZJs33eI7cA [youtu.be]. I think I have it kinda working or got lucky or have no idea what I'm doing. Will into creating a custom component on twists to make this an autorig component, eventually...
Questions:
1. This setup flips at the -180:180 degree values, any tips into increasing that to -360:360? quaternions?( I wouldn't even know where to start)
2. Is this setup moving into the right direction? is there an autorig component that makes this pointless?
the goal is to get to something close to this https://vimeo.com/63911251 [vimeo.com] then "component-
fy" it and share it.
Any feedback will be really appreciated!
Mark.
Been looking at APEX and been giving it a try. Finding it fun and decided to re-create Rok Andic's twist rotation https://youtu.be/NZJs33eI7cA [youtu.be]. I think I have it kinda working or got lucky or have no idea what I'm doing. Will into creating a custom component on twists to make this an autorig component, eventually...
Questions:
1. This setup flips at the -180:180 degree values, any tips into increasing that to -360:360? quaternions?( I wouldn't even know where to start)
2. Is this setup moving into the right direction? is there an autorig component that makes this pointless?
the goal is to get to something close to this https://vimeo.com/63911251 [vimeo.com] then "component-
fy" it and share it.
Any feedback will be really appreciated!
Mark.
-
- danfitz82
- Member
- 50 posts
- Joined: Jan. 2017
- Offline
Hi! For number (1), the flip occurs because you're extracting a rotation from the transform matrix - it only knows the final heading, not how far/which direction it's been rotated to get there. You might have better luck if you can take the rotation directly from the input parm's "r" vectors, you can blend those rotations together to get a result that knows which way to twist. Sort of like the attached, but would probably need some processing of the rotation into a full transform afterwards to get it working properly.
-
- yxnh
- Member
- 3 posts
- Joined: March 2020
- Offline
Hi,Marsh!
I must thank you for your hip file,I have been dealing with twistjoint for a few days,I was using lookat constraint but the result was really awful,it may flip/glitter even at 90 degrees.
And I download your file,and found out blending transform is so simple,and works so smoothly.
About your question 1,here's my little idea:
Since matrix can only describe -180 to 180 degree rotation,why not just divide joint rotation by 2 when extracting it,and process as usual,at last when setting rotation to twistjoint,just double the result.
I have tried about it,it does gave me 360degree flip,but may also causes unwanted twist while dealing with complicated rotation.
Maybe divide more and we might get more than 360 degree?
Anyway,here's my hip file.
I must thank you for your hip file,I have been dealing with twistjoint for a few days,I was using lookat constraint but the result was really awful,it may flip/glitter even at 90 degrees.
And I download your file,and found out blending transform is so simple,and works so smoothly.
About your question 1,here's my little idea:
Since matrix can only describe -180 to 180 degree rotation,why not just divide joint rotation by 2 when extracting it,and process as usual,at last when setting rotation to twistjoint,just double the result.
I have tried about it,it does gave me 360degree flip,but may also causes unwanted twist while dealing with complicated rotation.
Maybe divide more and we might get more than 360 degree?
Anyway,here's my hip file.
Image Not Found
-
- Quick Links