void Start() { rigid = this.GetComponent <Rigidbody>(); LastDirection = new Quaternion(0f, 90f, 0f, 1f); degree = 0f; RollingObj = aroundPoint.gameObject.GetComponent <PipeMove>(); }
void Start() { rigid = this.GetComponent <Rigidbody>(); //L9 angled = 180f; // RollingObj = aroundPoint.gameObject.GetComponent <PipeMove>(); }
void Start() { rigid = this.GetComponent <Rigidbody>(); //transform.GetChild(1).transform.Rotate(0f, 90f, 0f); LastDirection = new Quaternion(0f, 90f, 0f, 1f); //L9 degree = 0f; // RollingObj = aroundPoint.gameObject.GetComponent <PipeMove>(); }