What is AABB - Collision detection?

后端 未结 2 1387
我寻月下人不归
我寻月下人不归 2020-12-02 17:07

Hi I\'m making a voxel game in Java and while researching all the different things I\'d need to learn, I noticed that a lot of games use AABB

2条回答
  •  青春惊慌失措
    2020-12-02 17:19

    Axis Aligned Bounding Box

    Basically its the smallest Cuboid that can completely contain the shape, usually defined by a pair of 3d co-ordinates.

    It's very fast to check for collisions between two AABB as all you need to do is check the range of the X, Y and Z values for the corners.

提交回复
热议问题