Beispiel #1
0
    private void TurnPlayer()
    {
        float turnValue = VRInput.GetAxisOnce(turnInput);     //axis equiv. to GetDown

        transform.RotateAround(playerHead.position, Vector3.up, rotateDegrees * turnValue);
    }