First, an easy one. Can someone edit the playlist so the videos play in order rather than in reverse order?
Second, should I be able to walk around to the back side of the portal without ending up in Hill Valley? it seems the actual portal doorway doesn’t matter. it’s on one big plane that once you cross, you enter the other side.
Yes, have a look at what @thomlucc said in Part 5 @ 4:44 :
I'm just using the position of the camera
[...]
z>0 I'm on one side z<0 I'm on the otherside
[...]
Just for the demo to keep the code simpler
What you wanna do is to add more logic in the occluder.isVisible & occluderR.isVisible flags, for example by using collision detection on the portal, etc…
Ok, thanks! I’m not that far in to the tutorial yet. After the first video, I looked at the final demo and saw that was happening, so I wanted to ask about it.
Hi @Corysia! @Tricotou got it perfectly. I just did this to make it simpler in the code, but by using collision detection on the portal it would be what you’d expect.