public HandPhysics(HistoryBuffer buffer)
        {
            historyBuffer       = buffer;
            characterController = MonoBehaviour.FindObjectOfType <VR_CharacterController>();

            trackingSpace = VR_Manager.instance.TrackingSpace;
        }
Esempio n. 2
0
        private void Start()
        {
            onJointBreakListener = FindJointBreakListener();

            historyBuffer = transform.parent.GetComponent <HistoryBuffer>();

            handPhysics = new HandPhysics(historyBuffer);
        }