godot/servers/physics_3d
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
..
joints Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
area_3d_sw.cpp
area_3d_sw.h
area_pair_3d_sw.cpp Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
area_pair_3d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
body_3d_sw.cpp Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
body_3d_sw.h Unexpose _direct_state_changed in PhysicsBody 2021-04-22 23:20:58 -05:00
body_pair_3d_sw.cpp Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
body_pair_3d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
broad_phase_3d_basic.cpp
broad_phase_3d_basic.h
broad_phase_3d_sw.cpp
broad_phase_3d_sw.h
broad_phase_octree.cpp
broad_phase_octree.h
collision_object_3d_sw.cpp
collision_object_3d_sw.h
collision_solver_3d_sat.cpp
collision_solver_3d_sat.h
collision_solver_3d_sw.cpp
collision_solver_3d_sw.h
constraint_3d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
gjk_epa.cpp
gjk_epa.h
joints_3d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
physics_server_3d_sw.cpp Unexpose _direct_state_changed in PhysicsBody 2021-04-22 23:20:58 -05:00
physics_server_3d_sw.h Unexpose _direct_state_changed in PhysicsBody 2021-04-22 23:20:58 -05:00
physics_server_3d_wrap_mt.cpp
physics_server_3d_wrap_mt.h Unexpose _direct_state_changed in PhysicsBody 2021-04-22 23:20:58 -05:00
SCsub
shape_3d_sw.cpp Merge pull request #47347 from nekomatata/heightmap-support 2021-04-20 17:40:28 +02:00
shape_3d_sw.h
soft_body_3d_sw.cpp
soft_body_3d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
space_3d_sw.cpp
space_3d_sw.h
step_3d_sw.cpp Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00
step_3d_sw.h Godot Physics collisions and solver processed on threads 2021-04-26 18:26:00 -07:00