Code cleanup: Purge obsoleted SharedPhysicsSystem methods (#26287)
Updated calls to SharedPhysicsSystem methods
This commit is contained in:
@@ -97,6 +97,6 @@ public sealed class ChasingWalkSystem : VirtualController
|
||||
var speed = delta.Length() > 0 ? delta.Normalized() * component.Speed : Vector2.Zero;
|
||||
|
||||
_physics.SetLinearVelocity(uid, speed);
|
||||
_physics.SetBodyStatus(physics, BodyStatus.InAir); //If this is not done, from the explosion up close, the tesla will "Fall" to the ground, and almost stop moving.
|
||||
_physics.SetBodyStatus(uid, physics, BodyStatus.InAir); //If this is not done, from the explosion up close, the tesla will "Fall" to the ground, and almost stop moving.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user