Jump to content

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


okocha1337

Recommended Posts

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

Link to comment
Share on other sites

  • 2 weeks later...

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

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...