/agdg/ - Amateur Game Development General

Thanks

Here's a better delegate raycasting/script teleportation demo. As you can see, you can shoot through the portal from both your side (delegate raycasting), and with the gun on the other side (script teleportation)
youtube.com/watch?v=2gw5sz7I63g

Oh, also worth mentioning:
To get script teleportation all that you have to do is make your script inherit from TeleportableScript, and delegate raycasting is as easy as regular raycasting.

Why does the top one make a spherecast that's parallel to the ground, but the second one goes down into the ground?

>0f
>test
What is test
that is why, test is negative

Anyone have experience with unitys built in ads on mobile? I'm pulling my hair out trying to figure it out

Test is also zero. I was messing around with it, it needs to be set to 0.34 to get a parallel ray.

>mfw low test in AGDG
>mfw NO test in AGDG
Not surprised.

It's not that, i already checked and there is only a single face there

If your near clipping plane is really close to your camera's origin then you can get weird shit like that
Try moving your near clip farther away