set to directx11 in project setting
Plugin: SteamVR on, recommend OpenXR off
Restart
Create a Media named folder, add Media Player, tick Media Texture asset
Open media player to connect cam source
R click on media texture, create material:
blend mode translucent
R click on material, create material instance
crop the edge of green screen and adjust keyer color sample
Add a plane in the scene with material instance applied
Get camera setup:
Add a BP class pawn, add motion controller in component, change motion source to the tracker (need to detect it in SteamVR first)
Connect only tracker without HMD on VRSteam:
(the folder for null driver in my PC is
C:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\null\resources\settings)
Because I don’t have SteamDirectory folder, but name as Steam Folder instead)
Add camera component, rotate 90 degree, disable Lock to HMD
Add plane component, replace the material with the one created, rotate 180 degree and align some distance from the camera
Drag the pawn in scene to see if things fits
Go to pawn BP event graph, add mediaplayer variable, choose the default value:
copy and paste the URL link from MediaPlayer
Change player to 0 and test the game