Posts

Showing posts from September, 2023

ANIM231 Final

Image
 Golf For this project, I created a golf field. I used a python script to generate 5 balls on the sky at random positions. I defined a function to randomly assign translate values and move the spheres and a function to rename the spheres to "Golf". Then I applied active rigidbody to the balls and passive rigidbody to the ground after the balls were generated. Then I applied a gravity field on the ground, so that the balls will move with real world physics. They would drop on the ground and bounce. To make sure the balls fall to the hole, I created a radial field under the hole to attract the balls, and I set a keyframe for the magnitude to enable the field after a moment. The following is how the animation looks with all the applied attributes.

Rigging

Image
 Rigging For this assignment, I created attributes for the finger rigs and made bending fingers a lot easier. By adjusting and keying the attributes, it is simpler to animate the hands. First, I created nurve curves to be the controller and use the line "cmds.parent(r  = 1, s = 1)" to parent the controller and joints together. Use the script to connect the created attributes to rotate values, and it created the following result. It makes animating fingers easier with the attribures. The video is an example of animating fingers.