0
0
Unityframework~5 mins

Collider2D types (box, circle, polygon) in Unity - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a BoxCollider2D in Unity?
A BoxCollider2D is a rectangular 2D collider used to detect collisions in a box-shaped area. It is simple and efficient for objects with rectangular shapes.
Click to reveal answer
beginner
Describe CircleCollider2D and when to use it.
CircleCollider2D is a circular 2D collider that detects collisions in a round area. It's best for round objects like balls or circular buttons.
Click to reveal answer
intermediate
What is a PolygonCollider2D and why is it useful?
PolygonCollider2D is a 2D collider that can have any shape made of multiple points. It is useful for complex shapes that are not simple boxes or circles.
Click to reveal answer
intermediate
How does a BoxCollider2D differ from a PolygonCollider2D?
BoxCollider2D is always a rectangle, while PolygonCollider2D can have many sides and form complex shapes. PolygonCollider2D is more flexible but can be more expensive to compute.
Click to reveal answer
beginner
Can CircleCollider2D be used for non-circular objects?
CircleCollider2D works best for circular shapes. Using it for non-circular objects can cause inaccurate collision detection because it always uses a round area.
Click to reveal answer
Which Collider2D type is best for a rectangular platform?
AEdgeCollider2D
BCircleCollider2D
CPolygonCollider2D
DBoxCollider2D
What shape does CircleCollider2D detect collisions in?
ARectangle
BCircle
CPolygon
DLine
Which Collider2D type allows for complex shapes with many points?
APolygonCollider2D
BCircleCollider2D
CCapsuleCollider2D
DBoxCollider2D
Why might you avoid using PolygonCollider2D for simple shapes?
AIt is less accurate
BIt only works for circles
CIt is more expensive to compute
DIt cannot detect collisions
If you want a collider for a round ball, which Collider2D should you choose?
ACircleCollider2D
BPolygonCollider2D
CBoxCollider2D
DEdgeCollider2D
Explain the differences between BoxCollider2D, CircleCollider2D, and PolygonCollider2D in Unity.
Think about shape and complexity of the object you want to detect collisions for.
You got /4 concepts.
    When should you choose PolygonCollider2D over BoxCollider2D or CircleCollider2D?
    Consider shape complexity and performance cost.
    You got /3 concepts.