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());
|
||||
|
||||
4
Resources/Changelog/Parts/emitter_rotation.yml
Normal file
4
Resources/Changelog/Parts/emitter_rotation.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
author: Zumorica
|
||||
changes:
|
||||
- type: Fix
|
||||
message: Fixes emitters shooting sideway bolts and in the wrong direction.
|
||||
@@ -0,0 +1,6 @@
|
||||
The part YAML takes the following format:
|
||||
|
||||
author: Your_Name_Here
|
||||
changes:
|
||||
- type: Fix # One of the following: Add, Remove, Tweak, Fix
|
||||
message: Your change here!
|
||||
|
||||
Reference in New Issue
Block a user