// Start is called before the first frame update void Start() { boundsScale = gravity.maxGs / bounds; transform.localPosition = new Vector3(0, 0, 0); baseOffset = transform.localPosition; xAccelerator = new setManipAccelerator(); yAccelerator = new setManipAccelerator(); zAccelerator = new setManipAccelerator(); }
// Start is called before the first frame update void Start() { m_fall = GetComponent <fall>(); m_Rigidbody = GetComponent <Rigidbody>(); Collider = GetComponent <Collider>(); transform.rotation = Quaternion.Euler(0, 90, 0); xAccelerator = new walkingAccelerator(); zAccelerator = new walkingAccelerator(); }