Jump to content

Portal with fixed position


Recommended Posts


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.


Edited by reneeclchen
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...