Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Unity Movement

Total questions: 13

Worksheet time: 22mins

Name
Class
Date
1.

What three types of values do the Transform's Position, Rotation and Scale settings all have in common?

a)

X, Y, Z

b)

A, B, C

c)

Width, Height, Depth

d)

Speed, Velocity, Acceleration

2.

.Which of the following values are valid changes in the X or Y position when calling the Translate() function?

a)

1.0f

b)

-1.0f

c)

0.0f

d)

All of these are true

3.

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?

a)

-1.0f

b)

0.5f

c)

1.0f

d)

-0.01f

4.

How many degrees are in a full circle?

a)

45

b)

90

c)

180

d)

360

5.

Which of the following Rotation settings is most likely to be used to spin an object in a 2D game?

a)

X

b)

Y

c)

Z

d)

localScale

6.

Which of the following function calls will successfully rotate a sprite in a 2D Unity game?

a)

transform.Rotate(0, 0, 1.0f);

b)

transform.Rotate(0, 0, -3.0f);

c)

transform.Rotate(0, 0, 5.0f);

d)

All of these will work, just with different directions and angles

7.

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?

a)

Negative

b)

Positive

c)

Very Large

d)

0

8.

Where should you write code to check for user input?

a)

Inside the transform component in the inspector

b)

Inside the Start( ) function

c)

Inside the Update( ) function

d)

Inside the Draw( ) function

9.

What function would you call to check the current status of the input axis "Horizontal"?

a)

Input.GetAxis("Horizontal")

b)

Input.QueryKey("left")

c)

GetKeyState("Horizontal")

d)

GetHorizontal()

10.

How might you decrease the speed of an object you are moving in response to user input?

a)

Lower the Sensitivity setting on the input axis in the Input Manager

b)

Increase the Sensitivity setting in the Inspector Panel

11.

What function would you call to move an object in Unity?

a)

transform.Translate()

b)

transform.Rotate()

c)

transform.Scale()

d)

transform.Move()

12.

What is the default value of the Z axis in a 2D Unity game?

a)

0

b)

1

c)

-1

d)

2

13.

Which of the following is not a valid input axis in Unity?

a)

Horizontal

b)

Vertical

c)

Diagonal

d)

Fire1