summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2021-08-17 18:41:21 -0700
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2021-08-24 16:03:05 -0700
commit829fb4fba12d167ffe2280998d2f50431b2ccab3 (patch)
tree49652fc6723175e258637f12163a73086013ea06 /scene/2d
parent45c7af98625a1751f2a97aaf2a4a17d808b61092 (diff)
Fix RayShape collision detection
One-way collision is disabled for both rigid bodies and character bodies. Kinematic margin is now applied to ray shapes to help getting consistent results in slopes and flat surfaces. Convex shapes don't return inverted normals when a segment test starts inside (raycasting will be made consistent in a separate patch). Ray shapes also discard contacts when fully contained inside a shape and when the contact direction is inverted, so the behavior is consistent with all shape types. Now they always separate only when intersecting the top of a shape (for downward rays).
Diffstat (limited to 'scene/2d')
0 files changed, 0 insertions, 0 deletions