Port FTL arrival fix from https://github.com/new-frontiers-14/frontier-station-14/pull/3495
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();
description: Visualizer for shuttles arriving. You shouldn't see this!
components:
- type: Transform
- noRot: true
+ noRot: false
gridTraversal: false
- type: FtlVisualizer
sprite: