Чтобы попробовать столкновения со Сценой, можно использовать Physics.BoxCast
.
См. Этот пример из документации Unity:
void FixedUpdate()
{
//Test to see if there is a hit using a BoxCast
//Calculate using the center of the GameObject's Collider(could also just use the GameObject's position), half the GameObject's size, the direction, the GameObject's rotation, and the maximum distance as variables.
//Also fetch the hit data
m_HitDetect = Physics.BoxCast(m_Collider.bounds.center, transform.localScale, transform.forward, out m_Hit, transform.rotation, m_MaxDistance);
if (m_HitDetect)
{
//Output the name of the Collider your Box hit
Debug.Log("Hit : " + m_Hit.collider.name);
}
}