FORUMS: list search recent posts

IK in 3D, strange anomaly

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ben Pohl
IK in 3D, strange anomaly
on Apr 6, 2015 at 4:57:17 pm

Hey all,

I've been using DUIK for years with happy results.
I'm trying to use DUIK to drive some IK in 3D and I'm getting a strange result. I think there's probably a simple fix but I'm stumped.

I'm using DUIK to drive a simple leg in Element3D. Everything works fine until I parent the controller null, and the root null, to a master null.

Here's a quick screencap of what's happening:






I've tried the same setup with just shape layers in 3D without Element, and getting the same result. So I know it's not Element.

Any insight is appreciated.
Thanks!

Ben


Return to posts index

Logan King
Re: IK in 3D, strange anomaly
on Apr 7, 2015 at 2:36:56 am

Have you tried switching to the layer effects control & turning on the Orientation Checkbox ?


Return to posts index

Ben Pohl
Re: IK in 3D, strange anomaly
on Apr 7, 2015 at 1:23:23 pm

Hi Logan,

Yeah, all that does is flip the orientation of the knee. The foot is still floating away from where it should be.


Return to posts index


Logan King
Re: IK in 3D, strange anomaly
on Apr 8, 2015 at 1:58:52 am

I would try what Eric said.

I face this weird problem in 3D max at times and generally I re do the rig when it occurs there.


Return to posts index


Eric Epstein
Re: IK in 3D, strange anomaly
on Apr 7, 2015 at 4:00:53 pm

Hello,

Good idea using Element like this.

I don't know why this happens exactly. But my workaround was to simply not parent it, and connect the top of the chain to the body via expression.

Lets say the upper leg is parented to a null called 'hipA' and also there is a 'hipB' parented to the body.
I'd use the following expression on the position of 'hipA'
L = thisComp.layer("hipB");
L.toWorld(L.anchorPoint)

Additionally, you can use the expression below on the orientation of 'hipA' to have that chain auto orient to a free-floating 'foot' null.

Hope that helps. -eric

q=lookAt(thisComp.layer("foot").transform.position, position);
[q[0],q[1],value[2]]


Return to posts index

Matthew Lincoln
Re: IK in 3D, strange anomaly
on May 16, 2017 at 7:05:32 pm

Was this ever solved conclusively? I'm having a similar issue which I believe stems from the notion that DUIK is meant to only work in two dimensions.

I've got a 3D element robot rigged to walk, and the legs each move relative to the robots body only in those two dimensions. But the moment I rotate the body or move a foot controller in z space, the IK starts to misbehave.

If anyone did find a solution for 3D parenting and DUIK, I would be very interested to hear.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]