

Unit 6.3 Flashcard
Flashcard
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

7 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the main difference between primitive data types and objects in Unity?
Back
Primitive data types represent single pieces of data (like 5, true, false), while objects can store more complex data.
2.
FLASHCARD QUESTION
Front
Which of the following is true about a Vector3 object in Unity? It is used to represent the position of GameObjects in 3D space, It represents the position, direction, or scale in 3D space, It cannot be used to store velocity or movement data
Back
It is used to represent the position of GameObjects in 3D space
3.
FLASHCARD QUESTION
Front
In Unity, what does transform.position give us?
Back
The GameObject’s position in 3D space
4.
FLASHCARD QUESTION
Front
Which method would you use to check the distance between two GameObjects? Options: Vector3.MoveTowards(), Vector3.Distance(), Transform.LookAt(), Vector3.Normalize()
Back
Vector3.Distance()
5.
FLASHCARD QUESTION
Front
Which of the following would be an appropriate use case for the Transform.LookAt() method in a Unity game? Making a camera follow the player’s movements, Rotating an enemy character to face the player when they get too close, Changing the color of a GameObject when it’s clicked, Moving a character along a path
Back
Rotating an enemy character to face the player when they get too close
6.
FLASHCARD QUESTION
Front
What would happen if you use transform.position = new Vector3(x, y, z) in Unity?
Back
The GameObject will move to the specified coordinates in 3D space
7.
FLASHCARD QUESTION
Front
Write the code to create a Vector3 with x = 4, y = 10, and z = -2. Name the variable playerPosition.
Back
Vector3 playerPosition = new Vector3(4,10,-2);
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?