How can drive from two objects a third one with Xpresso?

Forum for: Modelling, Texturing, Animation, Composting and the whole general usage of Cinema4D.

Moderators: cappellaiomatto, natas, Arkimed, visualtricks

Post Reply
  • Advertising
Tadd
Posts: 2
Joined: Wed Nov 09, 2016 1:21 pm

How can drive from two objects a third one with Xpresso?

Post by Tadd » Wed Nov 09, 2016 1:35 pm

Hi Guys,
I have a difficult question: How can i drive from two control objects with its user datas a third one through Xpresso?
In my case for eg. a thumb & fingers controls of a hand needs to be drive and share its parameters parallelly from these two objects and control with them, not in same time but in turns. One for the IK state, another for the FK state. I have no idea what is the practice for this logical method and what nodes needs to be share to each other for a properly work.

Thank you so much!
Attachments
hand-ctrl.jpg
This is my hand and control objects, and the problematic area in Xpresso.

User avatar
cappellaiomatto
Moderatore
Posts: 1442
Joined: Mon May 07, 2012 5:12 pm
Contact:

Re: How can drive from two objects a third one with Xpresso?

Post by cappellaiomatto » Thu Nov 10, 2016 6:33 am

hi Tadd
Before scripting with xpresso can you explain what is the goal of your animation? What movement do you need to replicate?
Have you got a video reference or a screenshot of the model detail you want to animate?

Sorry but I don't understand your request, pfiu

Understand the animation type is foundamental to help you choicing the best rig approach :)

Tadd
Posts: 2
Joined: Wed Nov 09, 2016 1:21 pm

Re: How can drive from two objects a third one with Xpresso?

Post by Tadd » Thu Nov 10, 2016 8:42 pm

Hi cappellaiomatto,
thanks for your response. But let alone this skeleton, it doesnt matter actually. My purpose is, i want to drive an object from two places (objects) individually, sharing its parameters each other (from its user datas) with a mutual driving, without loops and freezings. I am not a programmer, but i curious for this logical method, what is the solution. If you have an idea I'll appreciate you.

Thank you!
Attachments
drive.jpg
I have no idea...

User avatar
cappellaiomatto
Moderatore
Posts: 1442
Joined: Mon May 07, 2012 5:12 pm
Contact:

Re: How can drive from two objects a third one with Xpresso?

Post by cappellaiomatto » Fri Nov 11, 2016 7:12 am

OK now I understand what you need.
the xpresso node to use is "condition" and you need a selector property.
You cannot control a property from two objects at the same time.

Bye
:)
Attachments
1.jpg
selector.zip
(64.59 KiB) Downloaded 29 times

  • Advertising
Post Reply