2 | UNITY 6.3 | PHOTON FUSION 2 | Player Movement and Third Person Perspective
Zev
0:00 / 0:00
2 | UNITY 6.3 | PHOTON FUSION 2 | Player Movement and Third Person Perspective
42 просмотра · 4 дня назад
Zev
54 подписчика
42 просмотра · 4 дня назад
This tutorial guides you through implementing networked player movement and third-person camera synchronization using Unity 6.3 and Photon Fusion 2. The session focuses on managing state authority to ensure smooth, synchronized movement in a multiplayer environment.
Core technical concepts covered:
FixedUpdateNetwork: This function is essential for physics-based movement in Photon Fusion. The video emphasizes that it only runs on objects where the player has state authority, preventing proxies (other players' instances) from being incorrectly controlled by the wrong client (01:19–07:36).
Network Transform: Proper synchronization requires attaching the Network Transform component to player prefabs, which allows position and rotation data to be shared across all connected clients (03:43–09:02).
Camera Synchronization: The video provides a script to handle third-person camera movement, ensuring it only follows the player object owned by the local user, rather than snapping to other players (10:11–15:38).
Collision Management: A brief troubleshooting tip suggests disabling the Character Controller component when spawning or moving players to avoid unintended collision issues (17:04–18:24).
Full Resources:
https://drive.google.com/drive/folder...