[HOTFIX] Movement Rewrite Hotfix Shuttles now respect their friction values (#37154)
* Shuttles now use their proper friction values * Documentation * Shuttles now use their proper friction values * Documentation * What the instrumentsystem doin * what the instrumentsystem doing 2
This commit is contained in:
committed by
GitHub
parent
45253ca79e
commit
61adee05f6
@@ -421,8 +421,6 @@ public sealed partial class ShuttleSystem
|
||||
Enable(uid, component: body);
|
||||
_physics.SetLinearVelocity(uid, new Vector2(0f, 20f), body: body);
|
||||
_physics.SetAngularVelocity(uid, 0f, body: body);
|
||||
_physics.SetLinearDamping(uid, body, 0f);
|
||||
_physics.SetAngularDamping(uid, body, 0f);
|
||||
|
||||
_dockSystem.SetDockBolts(uid, true);
|
||||
_console.RefreshShuttleConsoles(uid);
|
||||
@@ -477,8 +475,6 @@ public sealed partial class ShuttleSystem
|
||||
|
||||
_physics.SetLinearVelocity(uid, Vector2.Zero, body: body);
|
||||
_physics.SetAngularVelocity(uid, 0f, body: body);
|
||||
_physics.SetLinearDamping(uid, body, entity.Comp2.LinearDamping);
|
||||
_physics.SetAngularDamping(uid, body, entity.Comp2.AngularDamping);
|
||||
|
||||
var target = entity.Comp1.TargetCoordinates;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user