virtualx-engine/servers/physics_3d
PouleyKetchoupp d630269593 Fix contact generation with backface collision disabled
Replaced the previous implementation for backface collision handling (in
test_axis function from SAT algorithm) with much simpler logic in the
collision generation phase with face shapes, in order to get rid of
wrong contacts when backface collision is disabled.

Now it just ignores the generated collision if the contact normal is
against the face normal, with a threshold to keep edge contacts.

Added a special case for soft bodies to invert the collision instead of
ignoring it, because for now it's the best solution to avoid soft bodies
to go through concave shapes (they use small spheres). This might be
replaced with a better algorithm for soft bodies later.
2021-11-17 17:57:02 -07:00
..
joints clang-format: Various fixes to comments alignment from clang-format 13 2021-10-28 15:43:36 +02:00
gjk_epa.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
gjk_epa.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_area_3d.cpp Separate space override modes for gravity/damping in Area 2021-11-09 10:29:24 -07:00
godot_area_3d.h Separate space override modes for gravity/damping in Area 2021-11-09 10:29:24 -07:00
godot_area_pair_3d.cpp Separate space override modes for gravity/damping in Area 2021-11-09 10:29:24 -07:00
godot_area_pair_3d.h Separate space override modes for gravity/damping in Area 2021-11-09 10:29:24 -07:00
godot_body_3d.cpp Separate space override modes for gravity/damping in Area 2021-11-09 10:29:24 -07:00
godot_body_3d.h Separate space override modes for gravity/damping in Area 2021-11-09 10:29:24 -07:00
godot_body_direct_state_3d.cpp Expose local center of mass in physics servers 2021-11-08 16:17:57 -07:00
godot_body_direct_state_3d.h Expose local center of mass in physics servers 2021-11-08 16:17:57 -07:00
godot_body_pair_3d.cpp Add raycast options to hit when starting inside / hit back faces 2021-11-10 17:43:35 -07:00
godot_body_pair_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_3d.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_3d_bvh.cpp Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_broad_phase_3d_bvh.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_object_3d.cpp Rename AABB get_area to get_volume 2021-11-05 18:22:42 -04:00
godot_collision_object_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_3d.cpp Fix contact generation with backface collision disabled 2021-11-17 17:57:02 -07:00
godot_collision_solver_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_collision_solver_3d_sat.cpp Fix contact generation with backface collision disabled 2021-11-17 17:57:02 -07:00
godot_collision_solver_3d_sat.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_constraint_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_joint_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
godot_physics_server_3d.cpp Merge pull request #54810 from nekomatata/area-separate-override-modes 2021-11-11 15:11:21 -07:00
godot_physics_server_3d.h Separate space override modes for gravity/damping in Area 2021-11-09 10:29:24 -07:00
godot_shape_3d.cpp Fix contact generation with backface collision disabled 2021-11-17 17:57:02 -07:00
godot_shape_3d.h Fix contact generation with backface collision disabled 2021-11-17 17:57:02 -07:00
godot_soft_body_3d.cpp Merge pull request #54810 from nekomatata/area-separate-override-modes 2021-11-11 15:11:21 -07:00
godot_soft_body_3d.h Merge pull request #54810 from nekomatata/area-separate-override-modes 2021-11-11 15:11:21 -07:00
godot_space_3d.cpp Fix rest_info returning no result with high margin and low motion 2021-11-17 11:47:30 -07:00
godot_space_3d.h Use parameter classes instead of arguments for all physics queries 2021-11-04 11:44:39 -07:00
godot_step_3d.cpp Fix physics BVH pairing for teleported or fast moving objects 2021-11-16 14:51:37 -07:00
godot_step_3d.h Rename Godot Physics classes from *SW to Godot* 2021-10-18 17:01:10 -07:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00