Jump to content

Portal with fixed position


okocha1337

Recommended Posts

Posted

Hello,

can someone tell me how to make a portal at a fixed position in a room? actually the demo just let me use the controller to make a new portal. but I need it at the same position all the time.

thanks for your help.

@Daniel_Y

 

Posted

Thanks for your answer. I tried this but then  can't go into the vitual world. The headcollision doesn't work properly. I run through the portal and stay in the real world. The collision manager tells me that I am in transition but I dont switch the camera to vr.

Can you help me? @reneeclchen

Posted

@okocha1337,

Each portal prefab has a component "ViveSR_Portal", in which the Vector4 variable "planeEquation" has to be kept consistent with the normal direction of the portal. The function "UpdatePlaneNormal()" is for this purpose. Execute this function on Awake() and whenever the portal's transform is changed.

Renee

Archived

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

×
×
  • Create New...