CHOP lookat constraint randomly flipping

   2316   5   2
User Avatar
Member
178 posts
Joined: 1月 2013
Offline
Is anyone else having major issues getting these to work?

I have a scene with a camera transform defined in a CHOP network and am getting constant axis flipping when I play back the animation. All combinations of using an up object, etc. etc.

The old style lookat parameters work fine.

I really want to like these new constraint nodes but so far they have just been a big headache….
User Avatar
Member
2042 posts
Joined: 9月 2015
Offline
Post your file and we can have a look.

I haven't been having problems with CHOPs so far in H16
User Avatar
Member
178 posts
Joined: 1月 2013
Offline
Sorry for the rant…

I'm working in a scene with insanely large scales (yes, space), and the precision errors were the root cause.

Pretty sure I've got a workaround now.

Thanks!

-Jon
User Avatar
Member
11 posts
Joined: 9月 2014
Offline
Have the same issue. I had create a simple arm rig, for tests, and try to connect muscles. For the bicep connected to radius bone took a null with look at to upper arm null. And so with that constraint rotation axes goes crazy.
In H15 everything works just fine.

Here is a scene in attach.

P.S. Even in old style look at, the rotation flips once.
Edited by Lokk1 - 2017年6月8日 03:28:24

Attachments:
h_16_muscle_test_v002.hip (317.4 KB)

User Avatar
Member
402 posts
Joined: 6月 2014
Offline
Hi Lokk1,

You have the same object plugged in to both the lookat and the up inputs on the constraint CHOP, this is where the flipping is coming from. You can fix this by adding another lookat object offset in some axis (Z seems sensible here), or you can use a transform CHOP to move the bicep_start xform up in Z (see the file attached).

Attachments:
h_16_muscle_test_lookatup.hip (323.6 KB)

Henry Dean
User Avatar
Member
11 posts
Joined: 9月 2014
Offline
Thx, friedasparagus.

Sorry, this was my mistake. Next time will check twice)
Everything work even without constrainttransform.

Solved.
  • Quick Links