View Full Version : Portals

08-24-2019, 10:40 PM
Hello, everyone,

Is there a way so that only the rider gets ported through a portal? Or a work around so the bike can't be seen?

08-26-2019, 02:11 AM
I am working with portals on my track. I tested a few methods, and found one that works.

You will need an Area Trigger, Set Value Event, and a Variable Data Source.

Place the "Area Trigger" close to the front of the exit portal. Set "On Hit" to activate the "Set Value Event" with "0" as the value, and use the "Variable Data Source" as the target. Set the value of the "Variable Data Source" to 1. "0" = off "1"= on
Now click the bike and open the properties. On "Visibility" you want to "Pick Value Object" and select the "Variable Data Source" and that's it.

I tried the "Visibility Event" but it does not link to the bike.
The "Hit Trigger" does not register contact with the portal. No matter what physics type is set to.

08-26-2019, 02:14 AM
Thanks for the reply. I will give this a try.

08-26-2019, 02:20 AM
This method works great.