MAXON CINEMA 4D: Cinema 4D Forum Adobe After Effects Forum

Link object to mixamo rig element, with switch

COW Forums : Maxon Cinema 4D

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Steve RenardLink object to mixamo rig element, with switch
by on Oct 13, 2016 at 2:27:21 pm

I have a rigged character from Mixamo that types on a keyboard, then moves to the mouse, then back to the keyboard. I have a keyboard set up for her to type on (it's not important if she makes the keys move, fortunately), but I can't figure out a way to make the mouse move when she reaches over and grabs it, and stop moving when she goes back to the keyboard. In After Effects I would have written an expression with a checkbox controller and then keyframed the checkbox on and off to make the mouse follow her hand when it's active and stay where it was last when her hand moves away. Something like this:
if (checkbox = true) {
posX = handPos[0];
posY = position[1];
posZ = handPos[2];
[posX, posY, posZ]
}
else {position at last keyframe}


It certainly seems like there should be a way to do this with xpresso and/or python in Cinema, but what elements do I need to be looking for and how do I need to set them up to make it work?

Thanks for your help!

Steve


Return to posts index

Jim ScottRe: Link object to mixamo rig element, with switch
by on Oct 13, 2016 at 3:08:21 pm

Here's a quick tutorial that may help:









Return to posts index

Steve RenardRe: Link object to mixamo rig element, with switch
by on Oct 13, 2016 at 4:54:13 pm

That's great - thanks! I'll give it a try.

------------
Steve Renard
647-406-7991
steve@steverenard.com


Return to posts index

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