Is there a way to find out which grid is attached to a rotor?
Something like connectors:
Thank you for the help.
Something like connectors:
Code:
List<IMyShipConnector> connectors = new List<IMyShipConnector>(); GridTerminalSystem.GetBlocksOfType<IMyShipConnector>(connectors, x => x.CubeGrid == Me.CubeGrid); ... IMyCubeGrid seachedGrid = connectors[0].OtherConnector.CubeGrid;
