PA fixes.
Improved unlit layers for control box. Fixed rotation bugs. Fixes #3479
This commit is contained in:
@@ -82,9 +82,9 @@ namespace Content.Server.GameObjects.Components.PA
|
||||
|
||||
physicsComponent
|
||||
.EnsureController<BulletController>()
|
||||
.LinearVelocity = angle.ToVec() * 20f;
|
||||
.LinearVelocity = angle.ToWorldVec() * 20f;
|
||||
|
||||
Owner.Transform.LocalRotation = new Angle(angle + Angle.FromDegrees(180));
|
||||
Owner.Transform.LocalRotation = angle;
|
||||
Timer.Spawn(3000, () => Owner.Delete());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user