Disable pulling collision (#3776)

Realistically I need to modify the old pulling system but this is a stopgap for now.
This commit is contained in:
metalgearsloth
2021-04-01 14:32:13 +11:00
committed by GitHub
parent 86faf8565b
commit f68359f318

View File

@@ -152,7 +152,7 @@ namespace Content.Shared.GameObjects.Components.Pulling
_physics.WakeBody();
_pullJoint = pullerPhysics.CreateDistanceJoint(_physics);
// _physics.BodyType = BodyType.Kinematic; // TODO: Need to consider their original bodytype
_pullJoint.CollideConnected = true;
_pullJoint.CollideConnected = false;
_pullJoint.Length = length * 0.75f;
_pullJoint.MaxLength = length;
}