diff options
author | Malcolm Nixon <Malcolm.nixon@gmail.com> | 2022-12-28 02:07:42 -0500 |
---|---|---|
committer | Malcolm Nixon <Malcolm.nixon@gmail.com> | 2023-01-02 14:52:19 -0500 |
commit | 220e8a03901e750e4351765d225c114bb398a913 (patch) | |
tree | c5772972f54076745258f04686f398382c36d585 /scene/resources/default_theme/default_theme_builders.py | |
parent | 57267709e665f1683e79bd5d3432be2be5db6c1d (diff) |
Modified the collision_sphere_capsule function to only test the one "correct" axis which corresponds to the correct collision normal.
Added logically identical fix to the capsule/capsule collision, and verified it now produces correct collision points and normals.
Added analytic_sphere_collision helper function which reports the A and B points directly without using SAT.
Modified _collision_sphere_sphere, _collision_sphere_capsule, and _collision_capsule_capsule to use the new analytic_sphere_collision.
Fix white-space issue
Additional code formatting fixes.
Updated new analytic_sphere_collision to correctly handle null collector callback.
Diffstat (limited to 'scene/resources/default_theme/default_theme_builders.py')
0 files changed, 0 insertions, 0 deletions