Started implementation of portal teleporting

This commit is contained in:
Pasha committed 2025-04-02 14:47:27 +01:00
1 parent f76cc35c93
commit 1718bd7586
2 files changed
+6 -9

No files matched your search

+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);
}
}