virtualx-engine/servers
lawnjelly 07e5022cce
BVH - add option for expanded AABBs in leaves
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 211dc8cd2d)
2021-11-25 23:13:14 +01:00
..
arvr
audio clang-format: Various fixes to comments alignment from clang-format 13 2021-10-28 14:50:32 +02:00
camera
physics BVH - add option for expanded AABBs in leaves 2021-11-25 23:13:14 +01:00
physics_2d BVH - add option for expanded AABBs in leaves 2021-11-25 23:13:14 +01:00
visual BVH - add option for expanded AABBs in leaves 2021-11-25 23:13:14 +01:00
arvr_server.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
arvr_server.h
audio_server.cpp [HTML5] Use browser mix rate by default on the Web. 2021-09-15 20:36:19 +02:00
audio_server.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
camera_server.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
camera_server.h
physics_2d_server.cpp Improved logic for KinematicBody collision recovery depth 2021-10-05 17:00:55 -07:00
physics_2d_server.h Improved logic for KinematicBody collision recovery depth 2021-10-05 17:00:55 -07:00
physics_server.cpp Expose intersect_point in 3D physics server 2021-11-15 22:22:31 +01:00
physics_server.h Expose intersect_point in 3D physics server 2021-11-15 22:22:31 +01:00
register_server_types.cpp Remove unused PhysicsShapeQueryResult & Physics2DShapeQueryResult 2021-07-05 11:21:15 -07:00
register_server_types.h
SCsub
server_wrap_mt_common.h
visual_server.cpp GLES2: Disable half float on iOS via platform override 2021-10-25 16:25:56 +02:00
visual_server.h Portals - Allow user to set roaming expansion margin 2021-11-15 22:45:57 +01:00
visual_server_callbacks.cpp Portal occlusion culling 2021-07-14 11:43:23 +01:00
visual_server_callbacks.h Portal occlusion culling 2021-07-14 11:43:23 +01:00