WorksheetsUnity Movement
Total questions: 13
Worksheet time: 22mins
What three types of values do the Transform's Position, Rotation and Scale settings all have in common?
X, Y, Z
A, B, C
Width, Height, Depth
Speed, Velocity, Acceleration
.Which of the following values are valid changes in the X or Y position when calling the Translate() function?
1.0f
-1.0f
0.0f
All of these are true
Which of the following Translate() values for changes in the X or Y position will move the sprite a larger distance (more rapidly) across the screen?
-1.0f
0.5f
1.0f
-0.01f
How many degrees are in a full circle?
45
90
180
360
Which of the following Rotation settings is most likely to be used to spin an object in a 2D game?
X
Y
Z
localScale
Which of the following function calls will successfully rotate a sprite in a 2D Unity game?
transform.Rotate(0, 0, 1.0f);
transform.Rotate(0, 0, -3.0f);
transform.Rotate(0, 0, 5.0f);
All of these will work, just with different directions and angles
If the "left" arrow key is assigned to the Negative Button on the Horizontal axis, what kind of value will be produced when the user presses the left arrow key?
Negative
Positive
Very Large
0
Where should you write code to check for user input?
Inside the transform component in the inspector
Inside the Start( ) function
Inside the Update( ) function
Inside the Draw( ) function
What function would you call to check the current status of the input axis "Horizontal"?
Input.GetAxis("Horizontal")
Input.QueryKey("left")
GetKeyState("Horizontal")
GetHorizontal()
How might you decrease the speed of an object you are moving in response to user input?
Lower the Sensitivity setting on the input axis in the Input Manager
Increase the Sensitivity setting in the Inspector Panel
What function would you call to move an object in Unity?
transform.Translate()
transform.Rotate()
transform.Scale()
transform.Move()
What is the default value of the Z axis in a 2D Unity game?
0
1
-1
2
Which of the following is not a valid input axis in Unity?
Horizontal
Vertical
Diagonal
Fire1
