CheckConnectivitySmallBlockToLargeGrid
Summary
public static bool CheckConnectivitySmallBlockToLargeGrid(MyCubeGrid grid, MyCubeBlockDefinition def, ref Quaternion rotation, ref Vector3I addNormal)
Performs check whether small cube block given by its definition, rotation can be connected to large grid. Function checks whether a mount point on placed block exists in opposite direction than addNomal.
Returns
True when small block can be connected, otherwise false.
Parameters
- MyCubeGrid grid
- MyCubeBlockDefinition def
- Quaternion rotation
- Vector3I addNormal