140 likes | 147 Views
CSC1401: Introductory Programming. Rotational Motion. Motion. Motion of an object is relative to the orientation (front) of the object the center of the object. Center of an object. An object is positioned in the world around its center. The center of an object can be:
E N D
CSC1401:Introductory Programming Rotational Motion
Motion • Motion of an object is relative to • the orientation (front) of the object • the center of the object
Center of an object • An object is positioned in the world around its center. • The center of an object can be: • At the center of mass, or • Where it stands on the ground, or • Where it is held or connected (a hinge joint)
Dimensions and Orientation • A 3D object has • 3 dimensions • height, width, depth • orientation
Motion • Motion of an object is relative to • its orientation • its center
Translational Motion • Change of position of the entire object in the world • The direction of translational motion is stated relative to the orientation of the object. • Objects are ego-centric, motion based on orientation of the object • Six possible directions • move • left • right • up • down • forward • backward
Demo: Mouse Control Toolkit • To reposition objects in the world, use the buttons in the mouse control toolkit
Demo: Translational Motion • Six possible directions • move • left • right • up • down • forward • backward
Demo: Pull-down menu methods • In setting up a world, can be used to • resize an object • precisely position an object and it's subparts
Rotational Motion • Rotational motion occurs around the center (pivot point) of the object or subpart of the object. • Directions are divided among two instructions: • turn • forward, backward • left, right • roll • left, right • No up and downdirections!
Demo • Rotational Motion • Note that the movement is around the center of the object. • turn • forward orientation changes • roll • forward orientation remains the same
Aeronautical Terminology • Pitch: turn forward or backward – rotation is like a hinged lid on a box • Yaw: turn left and right – rotation is like a door on hinges • Roll (a.k.a. Bank); roll left or right – rotation is like a doorknob
Assignment • Read (before the next class session) • Chapter 1-2, Alice Concepts • Tips & Techniques 1, Special Effects
Lab 1 • Due next class session