Fixes emitters' fire rotation and emitter bolts being sideways.
This commit is contained in:
@@ -238,9 +238,9 @@ namespace Content.Server.GameObjects.Components.Singularity
|
||||
|
||||
physicsComponent
|
||||
.EnsureController<BulletController>()
|
||||
.LinearVelocity = Owner.Transform.WorldRotation.ToVec() * 20f;
|
||||
.LinearVelocity = Owner.Transform.WorldRotation.ToWorldVec() * 20f;
|
||||
|
||||
projectile.Transform.LocalRotation = Owner.Transform.WorldRotation;
|
||||
projectile.Transform.WorldRotation = Owner.Transform.WorldRotation;
|
||||
|
||||
// TODO: Move to projectile's code.
|
||||
Timer.Spawn(3000, () => projectile.Delete());
|
||||
|
||||
Reference in New Issue
Block a user