VR Pawn
Last updated
Last updated
VR Pawn has been included to get things up and running out of the box. It can be used in most projects as is. In fact, we use a version of this pawn in our projects as well. This pawn shows how you can use the content with examples.
Settings
Description
Controller Mesh
Sets which mesh should be used for displaying controller
Hand Mesh
Sets which mesh should be used for displaying hand
Visibility
Sets visibility of Hand and Controller
Optimized
‘Optimized’ will load static mesh for controllers, ‘NotOptimized’ will load skeletal mesh for controllers
Hand Hint Mat
Hint material to be used for Hands
Controller Hint Mat
Hint material to be used for Controllers
HMD Mirror
Sets which mirror mode should be used
Pixel Density
A value to use with vr.PixelDensity
Auto Scroll
‘true’ will allow Auto Scroll feature to work, ‘false’ will not
The Settings variable contains the most major options in BP_VRPawn and BP_VRPawn_GS. BP_VRPawn only includes HAC logic, BP_VRPawn_GS includes Grab System logic as well.
If Controller Mesh is set to AutoDetect, the pawn will try to find which HMD is connected. If not, selected mesh will be used for display.
This only works with Oculus HMDs at the moment.
This function makes sure VR is enabled and sets Pixel Density.