null slide on curve

Issues concerning rigging & Face Robot...
Post Reply
User avatar
McNistor
Posts: 605
Joined: 06 Aug 2009, 17:26

null slide on curve

Post by McNistor » 23 Nov 2013, 12:09

Is it possible to have an effector constrained to a curve so that when you move the root around it slides on the curve? Path constrain is obviously not the solution since it's not interactive.
Possible with "normal" rigging tools or should I investigate an ICE approach?

Image
The society that separates its scholars from its warriors will have its thinking done by cowards and its fighting done by fools.
-Thucydides

EricTRocks
Moderator
Posts: 754
Joined: 25 Nov 2009, 01:41
Contact:

Re: null slide on curve

Post by EricTRocks » 23 Nov 2013, 20:14

Definitely need ICE for this. Need to get closest location on the curve. A tip, you'll have to put your ICE Tree on a static null at world zero, get the position you want to use to get the closest location (maybe the root's kine.global.pos?) and set the location as an attribute. On the ICE Tree for the effector, look that attribute up from the static null objects and set position from there.
Eric Thivierge
Lead Kraken Developer, Fabric Engine
http://fabric-engine.github.io/Kraken

User avatar
McNistor
Posts: 605
Joined: 06 Aug 2009, 17:26

Re: null slide on curve

Post by McNistor » 24 Nov 2013, 12:34

Thanks for the tips.
It turns out I don't need this anymore, but if I have the time I think I will try to do it anyway since it may be useful in the future. I will surely post it here if I manage to pull it off. Not an ICE guru here and in fact, very far from it. :P
The society that separates its scholars from its warriors will have its thinking done by cowards and its fighting done by fools.
-Thucydides

SpookyMunky
Posts: 102
Joined: 14 Jun 2012, 02:30

Re: null slide on curve

Post by SpookyMunky » 24 Nov 2013, 13:35

I dunno if its a "Definately use ice" kinda thing ?, jsut to be annoying, could setup a quick link with on the path age.. depending on the situation might work just as nicely as ice / better since you can adjust the link with curves to your taste... just being devils advocate :D

EricTRocks
Moderator
Posts: 754
Joined: 25 Nov 2009, 01:41
Contact:

Re: null slide on curve

Post by EricTRocks » 24 Nov 2013, 19:05

Well since the OP said that the path constraint wasn't an option as it wasn't interactive it led me to believe they wanted it to be automatically calculated with little to no manual work. I said you'd get better results with an ICE based driven one any way.
Eric Thivierge
Lead Kraken Developer, Fabric Engine
http://fabric-engine.github.io/Kraken

User avatar
McNistor
Posts: 605
Joined: 06 Aug 2009, 17:26

Re: null slide on curve

Post by McNistor » 27 Nov 2013, 22:05

SpookyMunky wrote:I dunno if its a "Definately use ice" kinda thing ?, jsut to be annoying, could setup a quick link with on the path age.. depending on the situation might work just as nicely as ice / better since you can adjust the link with curves to your taste... just being devils advocate :D
When I drag the selected root null (like in the pic) I want the effector to follow and obviously stick on the curve. How do you propose to achieve this with path constrain? Or did I misunderstand you?
The society that separates its scholars from its warriors will have its thinking done by cowards and its fighting done by fools.
-Thucydides

User avatar
Mathaeus
Posts: 1778
Joined: 08 Jun 2009, 21:11
Location: Zagreb, Croatia
Contact:

Re: null slide on curve

Post by Mathaeus » 28 Nov 2013, 00:30

McNistor wrote:
When I drag the selected root null (like in the pic) I want the effector to follow and obviously stick on the curve. How do you propose to achieve this with path constrain? Or did I misunderstand you?
Obviously I'm not SpookyMunky, but anyway
If animating two objects is an option, then yes, could be one null constrained to path, effector will be constrained to this null, using pose or position constrain. Finally, root can be constrained to this null, using distance constrain, where distance is equal to bone length.
Or something else along this line.
By the way, by using only one animated object, won't be easy with ICE too. It's not only closest location, there's actually offset to calculate. Finally, direction - on which side of root, null will stick.
Do you know for working solution in another 3d app ?

pezetko
Posts: 40
Joined: 09 Jun 2009, 01:58

Re: null slide on curve

Post by pezetko » 28 Nov 2013, 01:20

There is my solution, no obvious cycle dependency.
It's just quick test, not ideal solution. I just like solving problems. Maybe there is much simplier way how to rig this. I don't do heavy rigging in softimage, so I would like to see other solutions too.

*.gif demonstration here:
Image
http://postimg.org/image/i1v8e59c3/

Scene is 2014 only.
Attachments
slideOnBone.zip
(109.24 KiB) Downloaded 99 times

everyframe
Posts: 16
Joined: 30 Nov 2009, 18:38

Re: null slide on curve

Post by everyframe » 28 Nov 2013, 04:37

I think its function is slightly vague, or maybe I'm just not understanding correctly. Specifics on how it would be utilized would help dictate a method IMO
.

Either way, sometimes you just have to keep things simple... here's my take ;)
Attachments
NullSlide.zip
path constraint, upVector, pose constraint, link with, & a bonelength expression. Boring
(11.64 KiB) Downloaded 119 times

grahamef
Posts: 281
Joined: 23 Jun 2009, 21:01

Re: null slide on curve

Post by grahamef » 28 Nov 2013, 18:22

You can actually constrain a null to a curve using the factory Constrain to Closest Surface compound. Just select the null and choose ICE > Kinematics > Constrain > to Closest Surface then pick the curve. After that you can use a regular constraint to constrain the effector to the null.

User avatar
McNistor
Posts: 605
Joined: 06 Aug 2009, 17:26

Re: null slide on curve

Post by McNistor » 07 Dec 2013, 05:00

Wow, haven't visited this thread for a while now. I'll check your solutions guys and thanks! :x
The society that separates its scholars from its warriors will have its thinking done by cowards and its fighting done by fools.
-Thucydides

Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests