Juice Box Rig(Prop Rigging)
The Steps to rig this juice box are as follows:
Open the file jb01
Select the juice box shape
and go to phong1 and give it a color of
a juice box texture
1.
Hide the straw
2.
Select the juice box and –
create – locator and rename it to straw_loc
3.
Place the locator to the
location of the straw
4.
Delete the locator’s history,
freeze transform it and delete history.
5.
Select the vertex – shift
select the locator and constrain – point on polygon
6.
Select the object – create
deformers – bend, squash and twist
7.
Create control curves in
different shapes and place them as follows
·
Box_Deform_ctrl on top
·
Box_Transform_ctrl on middle
·
COG_ctrl bottom
8.
Delete the curves history,
freeze transform it and modify it to center pivot
9.
Hide straw_loc and all
deformers and curves except squash deformer and box_deform_ctrl
10.
Test the squash deformer’s
factor by moving it from + to –
11.
Place the factor in such a way
that the object doesn’t penetrate the grid/plane and set low bound to 0
12.
Select the squash_deformer and
the box_deform_ctrl and go to Animate – set driven key – set
Box deform_ctrl is driver
and squash_deformer is driven where Y is driver key and factor is driven key.
13.
Go to graph editor – select
deformer and change graph to linear tangent
14.
Save it
15.
Hide the squash_deformer and
show twist deformer
16.
Play with its start angle and
end angle
17.
Select box_deform_ctrl and
twist deformer and go to windows node editor
18.
The twist should be on the LHS
and the box_deform should be on the RHS
19.
Place the mouse in between –
Tab – multiply/divide and click node editor
20.
Test it before proceeding
further
21.
Hide twist deformer and show
bend deformer
22.
Save the file
23.
Show the straw
24.
Create a curve starting from
the box till the end of the straw
25.
Delete the curve’s history and
freeze transform it and rename it to sip_straw_ctrl
26.
Select the straw – sculpt
deformer – flip – create
27.
Parent sculpt to its locator.
Locator is parent
28.
Select the locator – shift
select the sip_straw_ctrl and animate – motion path – attach to motion path
29.
Select – sip_straw_ctrl and go
to motion path attribute
30.
Select u value and break
connection
31.
Create a control curve and put
it around the straw
32.
Delete the curve’s history and
freeze transform it
33.
Select the curve and the motion
path and go to driven key
34.
Save it
35.
Show box_transform_ctrl
36.
Show all ctrls
37.
Group it to itself
38.
Group the objects
39.
Group them both in Transform_nd
40.
Parent constrain and Scale
constrain Transform_nd to box_transform_ctrl
41.
Parent constrain and Scale
constrain box_transform_ctrl to COG_ctrl

