Don Slater [email protected] Wanda Dann [email protected] Motion and Rotation Copyright...

7
Don Slater [email protected] Wanda Dann [email protected] Motion and Rotation Copyright 2012 Wanda Dann, Don Slater All rights reserved

Transcript of Don Slater [email protected] Wanda Dann [email protected] Motion and Rotation Copyright...

Page 1: Don Slater dslater@andrew.cmu.edu Wanda Dann wpdann@andrew.cmu.edu Motion and Rotation Copyright 2012 Wanda Dann, Don Slater All rights reserved.

Don [email protected]

Wanda [email protected]

Motion and Rotation

Copyright 2012 Wanda Dann, Don SlaterAll rights reserved

Page 2: Don Slater dslater@andrew.cmu.edu Wanda Dann wpdann@andrew.cmu.edu Motion and Rotation Copyright 2012 Wanda Dann, Don Slater All rights reserved.

3 Dimensional Space

An Alice objecto Is located in a 3D world, positioned at (x, y, z)o has 3 dimensions

o height, width, depth

o can move in 6 directions up

right

forward

down

left

back

Copyright 2012 Wanda Dann, Don SlaterAll rights reserved

Page 3: Don Slater dslater@andrew.cmu.edu Wanda Dann wpdann@andrew.cmu.edu Motion and Rotation Copyright 2012 Wanda Dann, Don Slater All rights reserved.

An object’s center is its pivot point (around which it moves and rotates).

The center of an object is usually where it stands on the ground

Center

center

Copyright 2012 Wanda Dann, Don SlaterAll rights reserved

Page 4: Don Slater dslater@andrew.cmu.edu Wanda Dann wpdann@andrew.cmu.edu Motion and Rotation Copyright 2012 Wanda Dann, Don Slater All rights reserved.

Location An object’s location is where the center

point of an object is located, relative to the ground’s origin (x,y,z)

(19, 15, -20)

(0, 0, 0) Center of the world(origin)

Copyright 2012 Wanda Dann, Don SlaterAll rights reserved

Page 5: Don Slater dslater@andrew.cmu.edu Wanda Dann wpdann@andrew.cmu.edu Motion and Rotation Copyright 2012 Wanda Dann, Don Slater All rights reserved.

Orientation Orientation is an object’s

o sense of its own forward and up direction

Copyright 2012 Wanda Dann, Don SlaterAll rights reserved

Up

Forward

Page 6: Don Slater dslater@andrew.cmu.edu Wanda Dann wpdann@andrew.cmu.edu Motion and Rotation Copyright 2012 Wanda Dann, Don Slater All rights reserved.

Translational motion changes the location of an object in the world

The direction of translational motion is stated relative to the orientation of the object. ◦ Six possible directions

move left right up down forward backward

forward

right

up

back

Copyright 2012 Wanda Dann, Don SlaterAll rights reserved

Page 7: Don Slater dslater@andrew.cmu.edu Wanda Dann wpdann@andrew.cmu.edu Motion and Rotation Copyright 2012 Wanda Dann, Don Slater All rights reserved.

Rotational motion changes the orientation of an object in the world

There is no change of location of the object

An object’s center acts as its pivot point for rotation.

Two forms of rotational motion: turn

forward, backward left, right

roll left, right

Copyright 2012 Wanda Dann, Don SlaterAll rights reserved