Professional Documents
Culture Documents
Move Chair
Move Chair
Move Chair
Collections;
using System.Collections.Generic;
using UnityEngine;
//Remove rigidbody(5) to make sure the chair remains static even in collisions
public Rigidbody chairRB;
[SerializeField]
public GameObject player;
public float speed = 1;
public bool isOnHand;
public Vector3 offset;
public bool isGrabbale;