Rotation after Portal
-
- Posts: 5
- Joined: Thu Jul 13, 2017 2:06 pm
Rotation after Portal
I was wondering how to adjust the rotation of the player after he goes through the portal...The levels I have made have a teleporter in them and in some levels player is facing the back of the teleporter after going through the portal...It is different on each level so I need a way to set the rotation...Thanks for any help....CO
Re: Rotation after Portal
Hi!
Set the rotation of the spawnpoint in the destination scene. For example, this is the portal in DemoScene1:
When arriving in DemoScene2 from this portal, the player will spawn to match the position and rotation of the GameObject named "Spawnpoint from DemoScene1":
Set the rotation of the spawnpoint in the destination scene. For example, this is the portal in DemoScene1:
When arriving in DemoScene2 from this portal, the player will spawn to match the position and rotation of the GameObject named "Spawnpoint from DemoScene1":
-
- Posts: 5
- Joined: Thu Jul 13, 2017 2:06 pm
Re: Rotation after Portal
Thanks Tony...I should have been able to figure that out...Long hours at work...
Re: Rotation after Portal
No worries; glad I could help!