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:
@@ -152,7 +152,7 @@ namespace Content.Shared.GameObjects.Components.Pulling
|
|||||||
_physics.WakeBody();
|
_physics.WakeBody();
|
||||||
_pullJoint = pullerPhysics.CreateDistanceJoint(_physics);
|
_pullJoint = pullerPhysics.CreateDistanceJoint(_physics);
|
||||||
// _physics.BodyType = BodyType.Kinematic; // TODO: Need to consider their original bodytype
|
// _physics.BodyType = BodyType.Kinematic; // TODO: Need to consider their original bodytype
|
||||||
_pullJoint.CollideConnected = true;
|
_pullJoint.CollideConnected = false;
|
||||||
_pullJoint.Length = length * 0.75f;
|
_pullJoint.Length = length * 0.75f;
|
||||||
_pullJoint.MaxLength = length;
|
_pullJoint.MaxLength = length;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user