Unit 6 Flashcards
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
✅ Answer: B
Which Rigidbody setting makes an object not affected by physics, but still interactable?
A. Drag
B. IsKinematic
C. Mass
D. Friction
✅ Answer: B
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
✅ Answer: C
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
✅ Answer: C
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
✅ Answer: B
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
✅ Answer: C
Which collision detection mode is best for fast-moving objects to prevent “tunneling”?
A. Discrete
B. Continuous
C. Delayed
D. Predictive
✅ Answer: B
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
✅ Answer: C
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
✅ Answer: C
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
✅ Answer: C
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
✅ Answer: B
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
✅ Answer: C
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
✅ Answer: B
What Unity method sends a ray and checks for hits?
A. Physics.Raycast()
B. Rigidbody.Raycast()
C. OnRayCollision()
D. CastRayCheck()
✅ Answer: A
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
✅ Answer: C
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
✅ Answer: A