virtualx-engine/servers/physics
UsernameIsAReservedWord 69cf996ce6 should fixes #1284
I could reproduce the crash described in #1284 only with 32bits versions of godot.

The test scene contains a Plane collision shape, and a kinematicsbody with a Sphere collision shape.
 
The crash occurs into `CollisionSolverSW::solve_distance_plane()` on line 299 when `p_shape_A` is a `PlaneShapeSW` object and when `p_shape_B` is a `MotionShapeSW` object, because `int support_count;` is not initialized by default, and because `MotionShapeSW::get_supports()` does not change `support_count` once passed as referenced parameter, and if the default value of `support_count` is greater than the length of `supports[16]`.

I don't know if it is the good way to fix it because i'm not skilled ennough with the physics server inner working, but this fix prevents the crash and the test-scene seems to work correctly.
2015-02-26 19:27:32 +01:00
..
joints 3D Physics Rework, Other Stuff 2014-09-15 11:33:30 -03:00
area_pair_sw.cpp Huge Amount of BugFix 2014-10-03 00:10:51 -03:00
area_pair_sw.h GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
area_sw.cpp Huge Amount of BugFix 2014-10-03 00:10:51 -03:00
area_sw.h Huge Amount of BugFix 2014-10-03 00:10:51 -03:00
body_pair_sw.cpp -CCD in 3D physics was not working (code was not even there!) re-added, fixes 1067 2015-01-05 23:00:35 -03:00
body_pair_sw.h -CCD in 3D physics was not working (code was not even there!) re-added, fixes 1067 2015-01-05 23:00:35 -03:00
body_sw.cpp Collada 2014-10-14 01:01:25 -03:00
body_sw.h Collada 2014-10-14 01:01:25 -03:00
broad_phase_basic.cpp GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
broad_phase_basic.h GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
broad_phase_octree.cpp GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
broad_phase_octree.h GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
broad_phase_sw.cpp GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
broad_phase_sw.h GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
collision_object_sw.cpp Huge Amount of BugFix 2014-10-03 00:10:51 -03:00
collision_object_sw.h missing fils from yesterday comit. 2014-10-03 08:58:41 -03:00
collision_solver_sat.cpp 3D Physics and Other Stuff 2014-09-02 23:13:40 -03:00
collision_solver_sat.h 3D Physics and Other Stuff 2014-09-02 23:13:40 -03:00
collision_solver_sw.cpp Batch of Bugfixes 2014-12-07 02:04:20 -03:00
collision_solver_sw.h Batch of Bugfixes 2014-12-07 02:04:20 -03:00
constraint_sw.cpp GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
constraint_sw.h Huge Amount of BugFix 2014-10-03 00:10:51 -03:00
gjk_epa.cpp 3D Physics and Other Stuff 2014-09-02 23:13:40 -03:00
gjk_epa.h 3D Physics and Other Stuff 2014-09-02 23:13:40 -03:00
joints_sw.cpp GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00
joints_sw.h 3D Physics Rework, Other Stuff 2014-09-15 11:33:30 -03:00
physics_server_sw.cpp -WIP to add proper key swapping according to keyboard layout 2015-01-04 21:16:40 -03:00
physics_server_sw.h Huge Amount of BugFix 2014-10-03 00:10:51 -03:00
SCsub 3D Physics Rework, Other Stuff 2014-09-15 11:33:30 -03:00
shape_sw.cpp 3D Physics and Other Stuff 2014-09-02 23:13:40 -03:00
shape_sw.h should fixes #1284 2015-02-26 19:27:32 +01:00
space_sw.cpp Huge Amount of BugFix 2014-10-03 00:10:51 -03:00
space_sw.h 3D Physics Rework, Other Stuff 2014-09-15 11:33:30 -03:00
step_sw.cpp Huge Amount of BugFix 2014-10-03 00:10:51 -03:00
step_sw.h GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00