Rotation Methods
Last Updated 29/11/22
How to set up and install the GDXR VR Template Plugin.
Rotation Methods
The GDXR VR Template contains two individual rotation methods that can be used to best suit your application or game.
These methods include:
Snap Rotation - Snap rotation rotates the player by x number of degrees (Template default is 45 degrees).
Smooth Rotation - Smooth rotation rotates the player over time with a speed multiplier (Template default is 1).
How to switch Rotation Types
The GDXR VR Template implements a Data Asset called DA_CharacterVariables which is used to control the GDXRVRCharacter’s default settings.
You can choose which rotation method you want to use by navigating to:
As of wrighting this documentation this cant be chaged at runtime however we do have plans to implement this in future builds.
Plugin > GDXR VR Plugin Content > VR Template > Blueprints > Data (Folder).
Inside the Data Folder you will find a Data Asset file called DA_CharacterVariables (the red one). Opening this up will allow you to acces the GDXR VR Characters default variables. This is where you can choose the Rotation method you wish to use.
Use Snap Rotation
True - Setting snap rotation to true will immidiatly snap the players camera to the new rotation based on the Snap turn angle variable amount.
False - Setting Snap rotation to false will smoothely rotate the players camera over time. This can cause motion sickness.
Smooth turn speed - Smooth turn speed works as a multiplier, the higher the value the faster the player will rotate.