1/5
Chapter 13
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
What are the Collider Components?
Box
Sphere
Capsule
Mesh - matches shape of a 3D model but expensive
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
What are the collision triggers?
OnCollisionEnter - when contact begins
OnCollisionStay - while still touching
OnCollisionExit - when separated
What is the Trigger Detection process?
Colliders that have Is Trigger set to true
Once object must have an RB
No physical response
What are the Trigger events?
OnTriggerEnter - when entering the trigger zone
OnTriggerStay - when staying inside
OnTriggerExit - when exiting the zone

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