Firstly, I created nurbs circle to form
master_ctl
secondary_ctl
tertiary_ctl
. Then I created 4 nurbs circle for 4 wheels at my avent Lamborghini. so I name them
Frontwheel_left
Frontwheel_right
Backwheel_left
Backwheel_right
So after I've done so, I shift the pivot of the wheels to center first by selecting modify>center pivot.
I've done this step for 4 wheels repeatedly.
Then, I go to modify>freeze transformations for the wheels nurb circle to set everything to the origin.
After then, I parent the nurbs circle with my wheels together.
So to allow my wheels to rotate in the correct axis when the car is move through master_ctl, I created these expressions using expression editor.
master_ctl.translateX
Avent_Lamborghini_geo_hi_v001:LeftWheel_Front.rotateZ
Avent_Lamborghini_geo_hi_v001:RightWheel_Front.rotateZ
Avent_Lamborghini_geo_hi_v001:LeftWheel_Back.rotateZ
Avent_Lamborghini_geo_hi_v001:RightWheel_Front.rotateZ
After creating these expressions, I proceed to create another expression to group everything together and I named this expression: wheelsRot
frontwheel_left.rotateZ =
master_ctl.translateX * -80;
frontwheel_right.rotateZ =
master_ctl.translateX * -80;
backwheel_left.rotateZ = master_ctl.translateX
* -80;
backwheel_right.rotateZ = master_ctl.translateX * -80;
I headed back to move my master_ctl to ensure that wheels is rotating in the right way and it did. Initially, I forgotten to freeze transform my nurbs circle after adjusting them and when I parent it with my wheels and do the expression, the nurbs circle will scale by itself and not rotating in the right way. After trying out various ways, I discovered that I had to do freeze transformation to ensure everything goes back to origin before parenting is done.
I headed to create an expression when my steering wheel turn, my front wheels will rotate also. So, I created another nurbs circle for steering wheels. I named it:
steeringwheel_ctl
So after then, I freeze transformed it and then parent with my steering wheel. So after then, I went back to expression editor and created this expression.
steeringwheel_ctl.rotateX
Then I created this expression for wheels :
Avent_Lamborghini_geo_hi_v001:RightWheel_Front.rotateY
Avent_Lamborghini_geo_hi_v001:LeftWheel_Front.rotateY =
steeringwheel_ctl.rotateX
After then, I proceed to create a control for my brake pedal, bonnet, boot, left door, right door and for both windows. For my brake pedal, bonnet, boot, left door and right door, I used a limit information rotate and set a limit after I created respective nurbs and freeze transformed it, parenting it. As for my windows, I used limit information translate to allow my window to be wind down when necessary.
So that's about it for my rigging, and I tried to animate it by allowing my car to move first and stop at a certain point then the door will open and close back again. Then my steering wheels will rotate, controlling my wheels too and final showcase my winding down my windows and winding it up back before it started to move again.
Finally, I created a camera and shoot it in the way I want to display my car rigging and that's all for it.
PEISHAN

No comments:
Post a Comment