Rig Persistance
Last updated
Last updated
The Rig Persistence component holds a pivotal role within the OVRTK framework by transforming the OVRTK Camera Rig into a Persistent Rig. Its primary function is to ensure that the rig remains intact and unaffected during scene transitions, guaranteeing its uninterrupted presence throughout its entire lifecycle. This functionality is indispensable for developers seeking a persistent VR experience while enabling seamless scene transitions within the virtual environment.
The Rig Persistence component addresses a common challenge in VR development, ensuring the continuity of the VR experience as users move between different scenes. By preventing the destruction of the OVRTK Camera Rig, it offers an essential solution for maintaining the rig's persistence during these transitions, ultimately resulting in smoother and more seamless user experiences.
Parameters and Usage:
OVRTK_Rig:
Description: The OVRTK_Rig parameter is a reference to the main rig that needs to be persisted throughout its lifecycle.
Usage: Developers specify the OVRTK Camera Rig that should persist across scene transitions by assigning it to this parameter. This ensures that the specified rig remains unaffected, providing continuity between scenes.
Enable Persistence:
Description: Enable Persistence is a boolean parameter responsible for activating or deactivating rig persistence.
Usage: By manipulating the Enable Persistence parameter, developers can control whether the rig persistence feature is enabled or disabled. It is essential to set this parameter to "true" to enable rig persistence during scene transitions and "false" when not needed.
The Rig Persistence component offers a vital solution for developers seeking to maintain an uninterrupted VR experience while transitioning between scenes. By configuring the OVRTK_Rig reference and enabling or disabling persistence with the Enable Persistence parameter, developers can precisely control the continuity and persistence of the OVRTK Camera Rig, ensuring a seamless and immersive user journey throughout their VR applications.