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

@@ -67,7 +67,7 @@ public class PortalManager : MonoBehaviour
// Teleports the player
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
PlayerMovement.Instance().WentThroughPortal(rotDif);