I've been trying to modify a gravity generators gravity field using the programming block, but I seem to be running into an issue with the Field properties.
Here's the code I'm using:
Using the programming block to set Gravity Field Width/Depth/Height
Here's the code I'm using:
Code:
void Main() { List<IMyTerminalBlock> gravitygenerator = new List<IMyTerminalBlock>(); GridTerminalSystem.SearchBlocksOfName("Gravity Generator", gravitygenerator); for (int i = 0; i < gravitygenerator.Count; i++) { var thisgravitygenerator = gravitygenerator[i] as IMyGravityGenerator;...