Locomotion

Fly with physics thruster



Create a Character BP, called ThrusterVRCharacter
(Use character BP than VR pawn, as its capsule has physics like gravity, simulate physics, collision)

In veiwport, capsule component, set shape to 1 by 1
image.png
Tick simulate physics, enable gravity, and lock rotation (to avoid mess up when collide/hit on object)
image.png
Add camera and 2 motion controller components:
image.png
Select motioncontroller elements, tick display device and assign mesh
image.png
change motion source on right controller
image.png
add arrow component on left and right controller
reduce arrow length to make movement slower if necessary
image.png

Go to Event graph, leave event tick node and add 2 variables, connect as below:
image.png

Apply “add force” from controller with stimulate physics function “on” in capsule:
(type “get arrow length” node at 2nd arrow left output)
image.png
Duplicate the nodes to connect to Sequence 1, replace nodes of left trigger pressed, and arrow left to right
image.png

Drag the BP character in the scene, change auto to player 0
Fly speed increase when trigger both controllers
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.