Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

464
Vistas
Collider2D.bounds Explaination

I am not understanding unity's explanation of the Collider.2D.bounds.

From Unity docs: "The world space bounding area of the collider."

Could someone give a better explanation? Furthermore, kindly explain collider.2d.bounds.max and min.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

"the world space bounding area of the collider"
In unity you can get your objects in different coordinate representations, a local system that is independent from its parents and where the object itself is the center of the system and a world system. While the local object system is centered around the object the world system is a fixed system and it describes where exactly the object is in your scene, without the world system you would not be able to know where exactly an object is in your scene as its values describe exactly this.

Object space:

objectspace

World space:

worldspace

In your case you get the bounds (in case of a box the minimal and maximal position) the object has in the world system.

"bounds min/max"
bounds.min.x will be the lowest x position of the bounds (of the object) and bounds.max.x will be the highest

Edit: enter image description here here you can see how bounding volumes are working. Bounding volumes will always include every single vertex around your object, but there are different kinds of bounding boxes, unity uses the axis-aligned bounding box (AABB) one.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda