Unit 6 Flashcards

1
Q

What does the Rigidbody component allow GameObjects to do?
A. Play sound effects
B. Interact with gravity and physics
C. Load faster
D. Glow when clicked

A

✅ Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which Rigidbody setting makes an object not affected by physics, but still interactable?
A. Drag
B. IsKinematic
C. Mass
D. Friction

A

✅ Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does drag simulate in Unity’s Rigidbody system?
A. Bounciness
B. Friction with the ground
C. Air resistance while moving
D. Impact sound volume

A

✅ Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What’s the difference between drag and angular drag?
A. Angular drag only works in 2D
B. Drag affects rotation, angular drag affects velocity
C. Drag affects linear motion; angular drag affects rotation
D. They’re the same

A

✅ Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What happens if you increase an object’s mass in Unity?
A. It falls faster
B. It’s harder to push
C. It becomes kinematic
D. It rotates less

A

✅ Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What’s the correct use of Rigidbody interpolation?
A. To change a Rigidbody’s texture
B. To prevent gravity
C. To smooth object movement
D. To freeze an object

A

✅ Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which collision detection mode is best for fast-moving objects to prevent “tunneling”?
A. Discrete
B. Continuous
C. Delayed
D. Predictive

A

✅ Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does continuous dynamic collision detection do that others don’t?
A. Works with static meshes only
B. Applies to UI elements
C. Detects collisions between other continuous objects
D. Bypasses triggers

A

✅ Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Rigidbody constraints are used to:
A. Disable scripting
B. Prevent object destruction
C. Freeze movement or rotation on selected axes
D. Limit camera field of view

A

✅ Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a raycast in game development?
A. A visible light beam
B. A math function to create shadows
C. An invisible line from a point in space that detects what it hits
D. A form of object pooling

A

✅ Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does a raycast return?
A. The distance between players
B. The first object it collides with
C. A camera zoom effect
D. The object’s transform only

A

✅ Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Why might a game use raycasting instead of actual projectiles?
A. For visual effect
B. To apply slow-motion effects
C. For instant, efficient hit detection (hitscan)
D. To save the game state

A

✅ Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In a stealth game, why does a raycast matter when an enemy “spots” the player?
A. It checks if the enemy is behind the player
B. It checks if anything (like a wall) blocks the line of sight
C. It gives the player extra health
D. It triggers background music

A

✅ Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What Unity method sends a ray and checks for hits?
A. Physics.Raycast()
B. Rigidbody.Raycast()
C. OnRayCollision()
D. CastRayCheck()

A

✅ Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What’s the term for a gun mechanic where bullets are not physically simulated but use raycasts?
A. Physics-based shot
B. Arc projectile
C. Hitscan
D. Gravity gun

A

✅ Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

When a raycast hits a wall before hitting an enemy, what happens in a proper stealth setup?
A. The enemy ignores the player
B. The enemy explodes
C. The wall gets destroyed
D. The player’s health increases

A

✅ Answer: A