Port FTL arrival effect fix from https://github.com/new-frontiers-14/frontier-station-14/pull/3495 (#41951)
Port FTL arrival fix from https://github.com/new-frontiers-14/frontier-station-14/pull/3495
This commit is contained in:
parent
f8e3b2b999
commit
8d37c21554
|
|
@ -203,7 +203,8 @@ public sealed partial class DockingSystem
|
|||
var spawnPosition = new EntityCoordinates(targetGridXform.MapUid!.Value, _transform.ToMapCoordinates(gridPosition).Position);
|
||||
|
||||
// TODO: use tight bounds
|
||||
var dockedBounds = new Box2Rotated(shuttleAABB.Translated(spawnPosition.Position), targetAngle, spawnPosition.Position);
|
||||
var targetWorldAngle = (targetGridAngle + targetAngle).Reduced();
|
||||
var dockedBounds = new Box2Rotated(shuttleAABB.Translated(spawnPosition.Position), targetWorldAngle, spawnPosition.Position);
|
||||
|
||||
// Check if there's no intersecting grids (AKA oh god it's docking at cargo).
|
||||
grids.Clear();
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
description: Visualizer for shuttles arriving. You shouldn't see this!
|
||||
components:
|
||||
- type: Transform
|
||||
noRot: true
|
||||
noRot: false
|
||||
gridTraversal: false
|
||||
- type: FtlVisualizer
|
||||
sprite:
|
||||
|
|
|
|||
Loading…
Reference in New Issue