Puzzle #2 — Sword Key Unlocks a Moving Door — XR Multiplayer Template

Channel:
Subscribers:
95
Published on ● Video Link: https://www.youtube.com/watch?v=X0AEJs29SS8



Duration: 0:00
3 views
0


في الحلقة دي هنعمل اللغز التاني في غرفة الهروب: السيف اللي بيشتغل كمفتاح.
الفكرة إن اللاعب يمسك سيف ويحطه في Socket، وبمجرد ما يتحط صح يفتح باب متحرك (Linear Drive).

اللي هنتعلمه:

إزاي نعمل Socket يستقبل أوبچكت معين (السيف).
إزاي نربط دخول السيف في السوكيت بفتح باب متحرك.
إزاي نتحكم في Colliders اللي بتتحرك مع الباب في Multiplayer.
إزاي السيرفر يفضل هو Authority، والكلاينتس يشوفوا التغيير لحظيًا.
إزاي Late Join يدخل ويلقى حالة الباب والسيف مزبوطة.

⚠ ️ ملاحظة: لازم يكون عندك خبرة سابقة مع XR Interaction Toolkit. مش هنعيد شرح الأساسيات.

🇬🇧 English

In this episode we build the second puzzle of the escape room: the Sword as a Key.
The idea is simple: the player grabs a sword, places it into a socket, and when it’s inserted correctly a moving door (Linear Drive) unlocks.

What you’ll learn:

How to implement a socket that only accepts a specific object (the sword).
How to trigger a moving door when the sword is placed correctly.
How to handle moving colliders with Netcode in multiplayer.
Ensuring the server remains authoritative while clients see smooth updates.
How late joiners sync correctly with the door and sword state.

⚠ ️ Note: This tutorial assumes prior experience with XR Interaction Toolkit. Basics are not covered.

Contact me https://www.linkedin.com/in/ahmed-abdailla/a  
ahmed.mousa.aed@gmail.com




Other Videos By Shacleau


2025-08-27Puzzle #2 — Sword Key Unlocks a Moving Door — XR Multiplayer Template
2021-11-29How to write a stack implementation CS Students.
2021-11-21Computer Graphics Shar7 CIC - 21 November
2020-06-21The Last of Us™ Part II Game-play - Walk-through Part 7 ( No Commentary )
2020-06-21The Last of Us™ Part II Game-play - Walk-through Part 4 ( No Commentary )
2020-06-21The Last of Us™ Part II Game-play - Walk-through Part 5 ( No Commentary )
2020-06-21The Last of Us™ Part II Game-play - Walk-through Part 6 ( No Commentary )
2020-06-20The Last of Us™ Part II Game-play - Walk-through Part 3 ( No Commentary )
2020-06-19The Last of Us™ Part II Game-play - Walk-through Part 2 ( No Commentary )
2020-06-19The Last of Us™ Part II First Hour Game-play - Walk-through Part 1 ( No Commentary )
2020-05-13اعلان و Unreal Engine 5 Demo على Playstation 5، ايه الى المفروض تفهمه؟
2020-05-09The Last Of Us Part II Leaks & News || تسربيات The Last of us 2 و اخر اخبارها.
2020-05-07ازاى تعمل Streaming Deck في البيت؟! || How to make Streaming Deck in home
2020-04-30PUBG Mobile Live Playing with friends
2020-04-30Steelseries Arctis 7 (2019) Review - is it the best Wireless gaming headset?
2020-04-29ما هو مستند تصميم اللعبه؟! - What's Game Design Document - AudioPodcast
2020-04-28Counter-Strike: Global Offensive LIVE GAMEPLAY
2020-04-28The Cycle? Epic Games Free Game!
2020-04-27CS:GO Recorded Live Gameplay. Deathmatch Games
2020-03-27Red Dead Redemption 2 PC Gameplay - Train Robbery With John Marston ( No Commentary )