Implement player network spawning and position synchronization

This commit is contained in:
2024-08-25 17:43:19 +02:00
parent 6e037b4d06
commit b05cab8288
30 changed files with 689 additions and 26 deletions

View File

@@ -103,7 +103,7 @@ namespace HurricaneVR.Framework.Core.Grabbers
private bool _canQuickStart;
private Coroutine _additionalGrabRoutine;
private HVRGrabbableHoverBase _grabIndicator;
private Transform _anchor;
public Transform _anchor;
private Rigidbody _forceRB;
public float VelocityMagnitude => HandGrabber.HVRTrackedController.VelocityMagnitude;

View File

@@ -407,7 +407,7 @@ namespace HurricaneVR.Framework.Core.Grabbers
private Vector3 _pusherSize;
private bool _pushing;
private GameObject _anchor;
public GameObject _anchor;
private Rigidbody _forceRB;
private bool _swappingGrabPoint;