Meta Multiplayer Mixed Reality APP [Beginner Friendly]
Vložit
- čas přidán 7. 07. 2024
- Join our in-person XR Hackathon in Berlin and win up to $25k in funding and prizes 👉🏽: www.xrcc.events/
Get the Starter Project here 👉🏽
github.com/immersive-insiders...
Are you serious about becoming an XR Developer?
Check out learn.immersive-insiders.com/
✅ XR Programming & Design Courses
✅ Private Discord community
✅ Optional 1on1 Coaching
✅ Interactive Live Classes
✅ and much more
🔔Subscribe to our channel to get started in AR/VR for Development, Business, Design, and much, much more: 👉 / @dineshpunni
🔻Let's connect!
Website: immersive-insiders.com/
LinkedIn: / univrsitas
🔻Let's collaborate!
If you have any questions leave them in the comments below,
for business inquiries contact us via e-mail: dinesh@dineshpunni.com
Timestamp:
00:00 - Introduction
00:27 - Prerequisites
01:54 - Multiplayer Packages
03:14 - Project Setup
03:35 - Scene Setup
04:45 - Testing Multiplayer Setup
05:15 - Creating Lightsaber Experience
06:48 - Making Saber Networked
07:29 - Converting it to a VR Multiplayer Experience
07:42 - Local Multiplayer Experience
Clear presentation showing how to put together all of the pieces -well done.
Keep it up! :)
Thank you very much for this simple explanation. I hope we can hear more quality with new microphone.
YESSSS. I’ve been looking for more MR dev channels! Thank you SO much!
My favorite teacher in MR!
Im a developer and to be honest ive done this all before and im jus trying to set it up as a new project to make sure my skills are up to date. All my photon and meta settings are set up but my avatar isnt displaying, and im seeing 2 right controllers. This is a fresh build becuz i was seeing 2 right controllers previously. Testing on quest 3 and my app is in alpha on app lab so i need to fix this lol...
I am trying to make an enemy "choose" between attacking Player 1 or 2. I believe I need to add the Players to a list. What variable / function should I reference?
👏👏👏
Thanks... It would be great if this laser also cut any cube
Lightsabers? In mixed reality?!!? This is EXACTLY what I’ve been wanting lately as I’ve stated my lightsaber fixation again! 😭
Thank you so much, users should be on the same network right?
Is there a video you can recommend, when holding the lightsaber, I can press the button to activate / deactivate the lightsaber blade?
You see how to map controller buttons here: czcams.com/video/wzjNUXKTefI/video.htmlsi=Ts2QRih9niPqNNET
However you need to write your own code to activate or deactivate the sabre
Thanks for the video! can you add the link you said about how to do the colocation?
Here you go: czcams.com/video/URGwBVrR4WI/video.htmlsi=vVT3Vc5hhhJ9q_mW
This video was great and it works perfectly on my device. I can't get it to work with the simulator though. It has problems with the passthrough layer and the avatar which makes sense as the editor probably can't get them from anywhere. Do I have to somehow disable them or configure them differently for it to work with the Meta Simulator?
What do you mean you can’t get it to work on the simulator?
Nope you don’t need to change any settings.
@@immersiveinsiders Hm on the Simulator I get the error "Passthrough layer is not configured for surface projected passthrough".
My Avatar works now though after logging in with a test user in the editor.
PS: I noticed that you never used the Surface Projected Passthrough and I don't need it either. I don't even know when I got the building block in there.
When I remove it, everything works fine, thank you!
Could you generate a random ID and use it to connect the client with the host who shares the same ID?
Yes it’s possible for that you need to use Client/Host networking.
You if are an intermediate developer you can easily implement it by modifying the existing script or by writing your own.
@@immersiveinsiders its working but one problem faced by both players is the same position instantiates can you help
@@AmanChaudhary-tb7ly to fix this you need to write a script to assign different spots to different users.
The ideal way would be to have a few shared spatial anchors around the origin.
Have a networked script that will keep a track of spots that are filled.
Is there any option available to instantiate my own avatar instead of random meta avatar?
Yes, check out this video:czcams.com/video/URGwBVrR4WI/video.html
At about 1: 16 I show how you can request to use the user's avatar.
@@immersiveinsiders Thank you so much 😍
Are you also going to make a video with Unity Networking instead of photon?
Not right now, however you can watch this video from Valem czcams.com/video/FwC81qCi-Oc/video.htmlsi=E4DYrY6x12CZaG77
@@immersiveinsiders already did, helped a lot. Thx brothers and sisters!
Thanks brother. I will be attentive to your next video, you are very good at teaching, congratulations
this is local MR multiplayer ?
The project is currently setup for co-presences I.e other people far away in your room. However this same app can be converted into Local MR with some additional steps.
@@immersiveinsiders we are currently facing some issues with Local MR. Even the Meta side has acknowledged these problems. Can you help us resolve the syncing issue with the grabbing function? In Local MR, I am experiencing difficulties with position synchronization when grabbing objects. Specifically, when the first player grabs a cube, the second player sees the grab, but it is not synchronized with the first player's hand."
@@AmanChaudhary-tb7ly can you share some screenshots on our discord server so that I can understand better? Not sure what you mean by the hands are not synced.
@@immersiveinsiders Nice! Can you tell what additional steps are?
@@filipemaliskahere’s a video on that czcams.com/video/URGwBVrR4WI/video.htmlsi=vVT3Vc5hhhJ9q_mW