squared line curve works, can use it in m_IsActive of GameObject