This example requires the Quest Module for Game Creator 1 from Catsoft Works to be installed and the Example Module must be enabled. The example has been configured with Basic IK but can easily be changed to use Final IK from RootMotion. To demonstrate the VR functionality, we have used the Quest example that is supplied with the Quest Module, and added the VR Module components to it. We have also used the First Person Camera and Player model for this example.
The Trigger On Start sets up the First Person Camera by calling that preconfigured Action. This Action inactivates the IK Solver, changes to the first person camera motor and player model, sets the player to move with the camera direction, includes a 0.5 second wait (could be reduced) to ensure the Character model is instantiated before the IK Solver is Reset.
The Left Hand Grip will open the Quest Hud, which is attached to the Left Hand Follower. On release of the Grip, the Hud will close. Similar to this, the Quest Journal will open on press of Right Hand Grip, and close upon release. The UI pointer is automatically display and the Trigger will interact with the UI elements.
We have also modified the Quest Simple Messages to display facing the player, and removed the camera changing so that the Player always has the view. These are self explanatory and can be easily seen in the example.