mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Revert "Make resetting contacts on the client only set is touching if it is true" (#5469)
This reverts commit cdb94748c8.
This commit is contained in:
@@ -31,6 +31,8 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Numerics;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Maths;
|
||||
using Robust.Shared.Physics.Collision;
|
||||
using Robust.Shared.Physics.Collision.Shapes;
|
||||
using Robust.Shared.Physics.Components;
|
||||
@@ -259,9 +261,7 @@ namespace Robust.Shared.Physics.Dynamics.Contacts
|
||||
{
|
||||
var manifold = Manifold;
|
||||
Evaluate(ref manifold, bodyATransform, bodyBTransform);
|
||||
|
||||
if (IsTouching)
|
||||
IsTouching = manifold.PointCount > 0;
|
||||
IsTouching = manifold.PointCount > 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user