VR Template that is setup for multiplayer and replicated using blueprints only.
100% Blueprints
No C++
Simple Listen Server setup. Can be used with other plugins for creating and joining sessions (like AdvancedSteamSessions).
All hand animations replicated (point, thumb up, grab, etc...). All clients can see your hand animations.
HMD Headset 3D model replicated for players head.
Smooth movement and rotation. No Teleport.
Easy to create new blueprints for grabbing and throwing objects.
Doors that open and close using a lever.
Card reader and keycard to lock and unlock door levers.
Includes 3 dice which a player can throw and the results will print to all clients in dev mode.
OpenXR and OnlineSubsystemUtils plugins are enabled in project and needed for functionality.
Tested using Quest 3 (recommended) @ 90Hz and 90FPS and PCVR - Windows 11
I needed two computers to test. Package the project for Windows, copy the build to the other computer. Host on one computer (A button on Quest 3) and Join (B button on Quest 3)on the other. If you use Steam or EOS it makes it easier to test. You only have to upload it and then update the in the launcher.
To test in the editor set "VR Preview". I've only been able to test single player - host this way.
Reworked HMD and Hands replication code. Fixes issue where hands were not replicating correctly.
Changes to the grab code where due to the new hmd/hands replication code the client couldn’t grab object. This fixed that issue.
Added accept Steam invite code. You need the game installed on Steam with your own steam app ID. You can not use Steams test app ID 480 to do this.
Fixed client grab issue. Created an event to set the world location of the MotionControllerLeftGrip and MotionControllerRightGrip components to the location of the AnchorLeft and AnchorRightHand. The event is called in the Event Tick of VRPawn when grabbing left or right controllers. This fixes the grabbing issue due to the changes made to the hand movement replication code.