Activity › Forums › Maxon Cinema 4D › How to contain an object within an object?
-
How to contain an object within an object?
Posted by Aaron Selig on April 30, 2014 at 2:03 amHello there,
I am trying to create an arm that has a piece inside it that makes it extend longer. (Image Below) is it possible to only have the inner piece extend to a certain point so its not shooting out of the arm?
Any advice would be greatly appreciated!
Darby Edelen replied 12 years ago 3 Members · 9 Replies -
9 Replies
-
Tim Shetz
April 30, 2014 at 2:38 amIf i understand you correctly, you could make the inner piece a child of the outer arm. So when you move the outer part, the inner part goes with it.
__________
Tim Shetz
c4dtraining.com -
Aaron Selig
April 30, 2014 at 3:20 am -
Tim Shetz
April 30, 2014 at 3:37 amSorry, rereading your post, you explained it fine. It’s my lack of caffeine currently inhibiting me.
You could use xpresso. What version of Cinema are you using? I can send you an example, just want to make sure I don’t send a wrong version.
__________
Tim Shetz
c4dtraining.com -
Tim Shetz
May 1, 2014 at 3:49 amAgreed.
I forgot to ask if the main object will be staying still or moving?
__________
Tim Shetz
c4dtraining.com -
Aaron Selig
May 1, 2014 at 3:53 pmI am creating a case that has an arm that folds out (which I just added a constraint tag so it only moves up and down) and coming out of that arm would be an inner arm that slides out. (the one shown in the picture) So it would most likely be moving
-
Tim Shetz
May 6, 2014 at 12:02 amMy apologies Aaron. I let this one slip down. I’ll try to find the file I created when I get home much later this evening and post it for you.
__________
Tim Shetz
c4dtraining.com -
Darby Edelen
May 7, 2014 at 7:36 pmI’m away from my computer at the moment but I’m pretty sure that the constraint tag’s clamp mode could do this for you. I think you’d want to make a null object that sits at the hole and clamp the extending object to it. You’d also need to constrain the movement of the object to a specific axis. There are a few ways to do that but clamp should allow it if you set your object axes up for it.
Darby Edelen
Reply to this Discussion! Login or Sign Up

