public virtual void DebugDraw() { MyTransform gridTransform = new MyTransform(m_blockA.Block.CubeGrid.WorldMatrix); var worldCenterA = MyTransform.Transform(ref m_blockA.Transform.Position, ref gridTransform); var worldCenterB = MyTransform.Transform(ref m_blockB.Transform.Position, ref gridTransform); VRageRender.MyRenderProxy.DebugDrawLine3D(worldCenterA, worldCenterB, m_debugLineColor, m_debugLineColor, false); }