07e5022cce
This PR adds a define BVH_EXPAND_LEAF_AABBS which is set, which stores expanded AABBs in the tree instead of exact AABBs.
This makes the logic less error prone when considering reciprocal collisions in the pairing, as all collision detect is now taking place between expanded AABB against expanded AABB, rather than expanded AABB against exact AABB.
The flip side of this is that the intersection tests will now be less exact when expanded margins are set.
All margins are now user customizable via project settings, and take account of collision pairing density to adjust the margin dynamically.
(cherry picked from commit
|
||
---|---|---|
.. | ||
tests | ||
app_icon.png | ||
default_controller_mappings.h | ||
gamecontrollerdb.txt | ||
godotcontrollerdb.txt | ||
input_default.cpp | ||
input_default.h | ||
main.cpp | ||
main.h | ||
main_builders.py | ||
main_timer_sync.cpp | ||
main_timer_sync.h | ||
performance.cpp | ||
performance.h | ||
SCsub | ||
splash.png | ||
splash_editor.png |