Skip to main content

Report this content

We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.

Note that misuse of the reporting tool will not be tolerated.

Item being reported:

A forum post by TAPgiles

It's a bit of a complex topic, and required maths to figure out from the direction of the laser, combined with the direction of the portal, convert it using the direction of the other portal, to get a new direction for the laser on the other side. It's doable, but you have to make the maths for it. So you can Google that to learn about how that works.

Here's one video I found helpful to learn what dot products are and how to calculate them--which is used to turn global directions etc. into local ones and back again basically. So that'll be a big part of it. https://youtu.be/MOYiVLEnhrw?t=8781

I also have a "daydream" article on patreon, which explains how to display a laser bouncing off of a surface. The maths will be roughly the same, but expanded to take the second portal into account. https://www.patreon.com/posts/laser-reflection-53063121

Oh dear! Your browser is either unsupported or there has been a problem loading the page.