public void Main(string argument) { IMyLaserAntenna antenna = null; IMyLaserAntenna antenna2 = null; antenna.SetTargetCoords(antenna2.GetPosition().ToString()); }
/// <summary> /// Gets the direction of the target. /// </summary> /// <returns>The direction of the target.</returns> private Vector3 TargetDirection() { if (m_laser != null) { return(m_laser.TargetCoords - m_laser.GetPosition()); } return(SunProperties.SunDirection); }