Did stuff

This commit is contained in:
2025-04-04 12:50:58 +01:00
parent 653876e56e
commit 1f81b9cb2f
3 changed files with 459 additions and 459 deletions

View File

@@ -268,7 +268,7 @@ BoxCollider:
m_LayerOverridePriority: 0 m_LayerOverridePriority: 0
m_IsTrigger: 0 m_IsTrigger: 0
m_ProvidesContacts: 0 m_ProvidesContacts: 0
m_Enabled: 1 m_Enabled: 0
serializedVersion: 3 serializedVersion: 3
m_Size: {x: 10, y: 10, z: 5} m_Size: {x: 10, y: 10, z: 5}
m_Center: {x: 0, y: 5, z: -3.5} m_Center: {x: 0, y: 5, z: -3.5}

File diff suppressed because it is too large Load Diff

View File

@@ -67,7 +67,7 @@ public class PortalManager : MonoBehaviour
// Teleports the player // Teleports the player
Vector3 offset = Quaternion.Euler(0f, rotDif, 0f) * difference; Vector3 offset = Quaternion.Euler(0f, rotDif, 0f) * difference;
PlayerMovement.SetPos(m_OtherManager.transform.position + PlayerOffset() - new Vector3(0, 2, 0)); PlayerMovement.SetPos(m_OtherManager.transform.position + offset - new Vector3(0, 1.5f, 0));
// Tellss the player it went through a portal // Tellss the player it went through a portal
PlayerMovement.Instance().WentThroughPortal(rotDif); PlayerMovement.Instance().WentThroughPortal(rotDif);