diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-12-01 11:02:10 -0700 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-12-01 11:03:41 -0700 |
commit | 02d40de30d727bb23ae7ed9dc003a36e6d5f4764 (patch) | |
tree | 209509302dd2775e15b3cf25c38dbb57058d7859 /scene/3d/voxel_gi.h | |
parent | 80e292b3e019d4084b09431572bba12f87e81023 (diff) |
Fix shape index in multiple physics queries with Bullet
Two main changes:
- Better handling of concave shapes to make sure the queries don't
return a triangle index instead of shape index.
Note: A concave shape within a compound shape will always return a shape
index of 0 because of Bullet limitations.
- Extra check for compound shapes in some queries to avoid undefined
behavior, because the shape index can have an uninitialized value with
convex shapes in some cases.
Diffstat (limited to 'scene/3d/voxel_gi.h')
0 files changed, 0 insertions, 0 deletions