Jump to content

Portal with fixed position


okocha1337
 Share

Recommended Posts

@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

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
 Share

×
×
  • Create New...