Added rayCastTest to EntityManager