Started implementation of portal teleporting

This commit is contained in:
2025-04-02 14:47:27 +01:00
parent f76cc35c93
commit 1718bd7586
2 changed files with 6 additions and 9 deletions
+2 -2
View File
@@ -5,9 +5,9 @@ public partial class PlayerMovement : MonoBehaviour
private void OnTriggerStay(Collider other)
{
// Stops it trying to find the normals of portals
// if (other.CompareTag("Portal")) { return; }
if (other.CompareTag("Portal")) { return; }
// Else adds it to the list
// m_WallCollisions.Add(other);
m_WallCollisions.Add(other);
}
}