// Use this for initialization void Start() { rb = GetComponent <Rigidbody>(); mainNormals = new Vector3[2]; voxelSideNormals = new HashSet <Vector3>(); actions = GetComponent <CritterActions>(); actions.autoOrientate = false; //transform.GetChild(0).GetChild(0).gameObject.GetComponent<CritterAnchor>().gravity = this; }
void Start() { actions = GetComponent <CritterActions>(); transform.localScale *= size; }