Timeline for How to check for cube collisions?
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 29, 2022 at 7:11 | comment | added | Žarko Tomičić | Are the axes overlaping or are the projections towards planes dividing two objects overlaping? | |
| Apr 18, 2019 at 14:57 | comment | added | House | @Abdulrahman getSize_ returns a float value that represents the size of a box on whatever axis is being asked for. The description of what the code is doing is in the answer. Essentially, if there is any single 3D point which is shared between the two bounding boxes, they are considered to be overlapping. If you're still unclear, try removing dimensions. 1 dimension: two sections on a line are colliding if they touch or overlap. 2 dimensions: two boxes drawn on a piece of paper are colliding if they touch/overlap. Same goes for 3D. There needs to be overlap on all axis for a collision. | |
| Apr 17, 2019 at 18:10 | comment | added | Falyoun |
Please can you tell me what getSize_ function for , generally how the above code works ?
|
|
| Aug 9, 2013 at 14:28 | vote | accept | Sierox | ||
| Aug 9, 2013 at 14:25 | history | edited | House | CC BY-SA 3.0 |
edited body
|
| Aug 9, 2013 at 14:19 | history | edited | House | CC BY-SA 3.0 |
edited body
|
| Aug 9, 2013 at 14:11 | history | answered | House | CC BY-SA 3.0 |