Jump to content

How to change the portal shape to a plane or something rectangular?


okocha1337

Recommended Posts

Posted

Hey,

I'm using the beta version. And everything is working fine with my RTX 2080 TI and the newest steamvr and unity 2019.3.0a7. The only problem was openvr. But I unchecked it during the import of the srworks unity plugin, that solved the problem.

Now I want to use the portal to combine vr and the real world, but I want to use a door or a wall with a door as an entrance. Can someone tell me what do I have to change and where?

Thanks.

 

@Daniel_Y

Posted

I managed to change the shape. But the problem is that when I try to enter the portal, the portal disappear. The checkmark of the camera is changing to "in transition" but not to " is in virtual world".

Can someone help me?

  • 2 weeks later...
Posted

Hi @okocha1337,

To replace the shape of the prefab "DefaultPortal" or "PortalWithParticle", the replacement of mesh are required in three places:
(1) in Circle/MeshFilter,
(2) in RealWTrigger/PortalTrigger/MeshCollider,
(3) in VirtualWTrigger/PortalTrigger/MeshCollider.

After that, make sure the colliders (1) cover an area of the portal mesh you would like the portal effect to be effective and (2) have some thickness.

Renee

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...