Deaktivated Multiplayer but did not remove it
This commit is contained in:
@@ -18,8 +18,7 @@ public class OVRStickAndRoomscaleMovement : NetworkBehaviour
|
||||
|
||||
void Start()
|
||||
{
|
||||
if (!IsOwner)
|
||||
return;
|
||||
//if (!IsOwner) return;
|
||||
|
||||
characterController = GetComponent<CharacterController>();
|
||||
|
||||
@@ -29,7 +28,7 @@ public class OVRStickAndRoomscaleMovement : NetworkBehaviour
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (!IsOwner) return;
|
||||
//if (!IsOwner) return;
|
||||
|
||||
// 1. Real-World Position des Headsets bestimmen
|
||||
Vector3 headLocalPos = rigRoot.InverseTransformPoint(cameraTransform.position);
|
||||
|
||||
Reference in New Issue
Block a user