summaryrefslogtreecommitdiff
path: root/servers/physics_2d/physics_2d_server_sw.cpp
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2017-08-29 23:15:12 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2017-08-29 23:46:44 +0200
commitd8584682f03c2b78ac531f1e7537a10d6a5787d3 (patch)
treec5582ba639c48c895de7096bca0065d83024575a /servers/physics_2d/physics_2d_server_sw.cpp
parent06d7e36898d274c2403dcfbe5a83a9d858af0661 (diff)
Fix joints collision exceptions
Fix 3D joint handling of collision exceptions, so that they lose effect when the joint is not valid in every case; also some redundant code removed. Also avoid trying to create the joint when not neither body A nor body B are set. Make 2D joints be handled like their 3D counterparts, which adds the fixes to them while also removing duplicated code. (adapted from commit 4a98a59aa6810a679370e3664e89b3d83eb3d879)
Diffstat (limited to 'servers/physics_2d/physics_2d_server_sw.cpp')
0 files changed, 0 insertions, 0 deletions