mirror of
https://github.com/PashaBibko/The-Mobius-Line.git
synced 2026-12-02 23:37:39 +00:00
Started implementation of portal teleporting
This commit is contained in:
1 parent
f76cc35c93
commit
1718bd7586
2 files changed
+6
-9
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user