virtualx-engine/servers/physics_2d
PouleyKetchoupp 448c41a3e4 Godot Physics collisions and solver processed on threads
Use ThreadWorkPool to process physics step tasks in multiple threads. Collisions are all processed in parallel and solving impulses is
processed in parallel for rigid body islands.

Additional changes:
- Proper islands for soft bodies linked to active bodies
- All moving areas are on separate islands (can be parallelized)
- Fix inconsistencies with body islands (Kinematic bodies could link
bodies together or not depending on the processing order)
- Completely prevent static bodies to be active (it could cause islands
to be wrongly created and cause dangerous multi-threading operations as
well as inconsistencies in created islands)
- Apply impulses only on dynamic bodies to avoid unsafe multi-threaded
operations (static bodies can be on multiple islands)
- Removed inverted iterations when populating body islands, it's now
faster in regular order (maybe after fixing inconsistencies)
2021-04-26 18:26:00 -07:00
..
area_2d_sw.cpp Merge pull request #44695 from madmiraal/fix-44632 2021-03-26 16:34:02 +01:00
area_2d_sw.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
area_pair_2d_sw.cpp Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
area_pair_2d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
body_2d_sw.cpp Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
body_2d_sw.h Unexpose _direct_state_changed in PhysicsBody 2021-04-22 23:20:58 -05:00
body_pair_2d_sw.cpp Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
body_pair_2d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
broad_phase_2d_basic.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
broad_phase_2d_basic.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
broad_phase_2d_hash_grid.cpp Optimize BroadPhase2dHashGrid to not pair elements on different layers 2021-04-15 17:20:07 -04:00
broad_phase_2d_hash_grid.h Optimize BroadPhase2dHashGrid to not pair elements on different layers 2021-04-15 17:20:07 -04:00
broad_phase_2d_sw.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
broad_phase_2d_sw.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
collision_object_2d_sw.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
collision_object_2d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
collision_solver_2d_sat.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
collision_solver_2d_sat.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
collision_solver_2d_sw.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
collision_solver_2d_sw.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
constraint_2d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
joints_2d_sw.cpp Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
joints_2d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
physics_server_2d_sw.cpp Unexpose _direct_state_changed in PhysicsBody 2021-04-22 23:20:58 -05:00
physics_server_2d_sw.h Unexpose _direct_state_changed in PhysicsBody 2021-04-22 23:20:58 -05:00
physics_server_2d_wrap_mt.cpp Modernize atomics 2021-02-18 17:12:46 +01:00
physics_server_2d_wrap_mt.h Unexpose _direct_state_changed in PhysicsBody 2021-04-22 23:20:58 -05:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
shape_2d_sw.cpp Merge pull request #47678 from madmiraal/fix-47436.1 2021-04-06 22:35:49 +02:00
shape_2d_sw.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
space_2d_sw.cpp Merge pull request #45863 from nekomatata/physics-queries-disabled-shapes 2021-02-24 13:05:28 +01:00
space_2d_sw.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
step_2d_sw.cpp Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
step_2d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00