ChatGPT4 에게 물어보았다.
An axis-aligned bounding box (AABB) is a geometric shape commonly used in computer graphics and physics simulations. Here’s what you need to know:
- Definition: An AABB is a box aligned with the coordinate axes (X, Y, and Z) and fully enclosing some object. Because the box is never rotated with respect to the axes, it can be defined by just its center and extents or alternatively by its minimum and maximum points.
In Unity, the Bounds struct represents an AABB. It is used by various components such as Collider.bounds, Mesh.bounds, and Renderer.bounds to define the bounding volume of objects in the scene1. Similarly, in Unity Physics, the Aabb struct serves the same purpose, allowing efficient collision detection and containment checks23.
Think of an AABB as a “bounding box” that wraps around an object, ensuring that no matter how the object rotates or moves, the box remains aligned with the coordinate axes. This makes it useful for collision detection, culling, and other spatial queries in games and simulations
'Engine > Unity' 카테고리의 다른 글
Unity 6 beta (0) | 2024.04.21 |
---|---|
[ChatGPT4] 유니티에서 Cascade Shadow atlas 란? (0) | 2024.03.24 |
책 [유니티로 배우는 게임 수학] 중 (0) | 2024.03.09 |
유니티 인스펙터 상에 private 변수 보이도록 debug 설정 (0) | 2023.09.14 |
Built-in Render Pipeline => URP (Universal Render Pipeline) 세가지 방법 (0) | 2023.08.14 |