Lab 05: Transforms

Complete the following worksheet in pairs.

Names:  
 

Transforms in Unity

Suppose we have placed a cube and a sphere in our scene hierarchy as follows

Lab Week05 Transforms

Suppose the cube has the following values on its transform component

Suppose the sphere has the following values on its transform component

What are the local coordinates of the sphere’s position, up axis, and right axis?

 
 
 

Give the 4x4 matrix transform that corresponds to the transform component on the cube.

 
 
 

Give the 4x4 matrix transform that corresponds to the transform component on the sphere.

 
 
 

Compute the global coordinates of the sphere’s position, up, and right axes.

Character Controls

Before leaving lab today, implement the simple player controls from Assignment 05 and answer the following questions.

Draw a picture that shows the coordinate axes of the root of your character and the coordinate axes of the camera.

 
 
 

 
 
 

 
 
 

On you picture, draw the following quantities.

Answer the following questions from the assignment writeup