Collisions and Triggers

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/5

flashcard set

Earn XP

Description and Tags

Chapter 13

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

6 Terms

1
New cards

What are the Collider Components?

  • Box

  • Sphere

  • Capsule

  • Mesh - matches shape of a 3D model but expensive

2
New cards

What is the Collision Detection Process?

  • Checks collisions every FixedUpdate()

  • At lesat one object needs an RB

  • Both objects need a collider

  • Considers velocity, mass, and materials

3
New cards

What are the collision triggers?

  • OnCollisionEnter - when contact begins

  • OnCollisionStay - while still touching

  • OnCollisionExit - when separated

4
New cards

What is the Trigger Detection process?

  • Colliders that have Is Trigger set to true

  • Once object must have an RB

  • No physical response

5
New cards

What are the Trigger events?

  • OnTriggerEnter - when entering the trigger zone

  • OnTriggerStay - when staying inside

  • OnTriggerExit - when exiting the zone

6
New cards
<p>What is the Physics Players and Collision Matrix?</p>

What is the Physics Players and Collision Matrix?

  • Allow grouping of GameObjects

  • Found in: Edit > Project Settings > Physics

  • Use gameObject.layer in code to assign layers dynamically