Movement Methods And Settings
Last Updated 29/11/22
How to set up and install the GDXR VR Template Plugin.
Six Movement Methods
The GDXR VR Template contains five individual Movement methods with a Sixth being active by default all can be used to best suit your application or game. And a Variety of other settings which work on conjunction with the player.
These methods include:
Telleport - Spawn at pointer location
Shift - Move linearly from point A to B over time.
Smooth Locomotion - Uses the thumbstick to control movement direction giving full control over player position.
Smooth Locomotion And Telleport - Uses the thumbstick to control movement direction while also enabling teleport so you can quickly spawn at the pointer location while moving.
Flying - flying allows you full controll of the players position letting you fly around your level.
Snap To Location - Snap to location is enabled by default as an extension to telleporting it allows you to snap the telleportation beam to any actor with the tag “SnapLocation”.
Dont forget to join us on Discord
How to switch Movement 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 movement 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 movement method you wish to use.
General Movement Settings
The more general movement settings include:
Screen shots may vary depending on plugin version
Camera Height Offset - Allows you to adjust the players camera making them taller or shorter.
Max Walk speed - Set the default value of how fast the player can move when using Smooth Locomotion Movement methods
Max Sprint - Controll how fast the player moves when clicking the left thumbstick while using smooth locomotion Movement Methods.
Can Player Move - Ability to disable player movement only (Not is still enabled), useful for cutscenes or when the player enters a menu.
Can Player Climb - Allows you to controll if the player can climb objects using there hands and grabbing.
Can Player Jump - Choose whether the player can Jump in there game.
To switch movement methods you can navigate to the Movement Type drop down.
Here you can select the movement method you wish to use. The player will automatically use this movement method and change inputs based on the method used.
Use Camera Direction For Movement
This feature works along side the smooth locomotion movement methods to determine which direction the player moves in.
True = Uses the hmd’s camera direction as the forward movement direction, Pushing forward on the thumbstick will make you move in the direction your looking.
False = Uses the players left controller to determine the players forward direction moving them rrelative to the direction the controller points in.