public void LockSnake(SnakeMovement snakeMovement) { var cols = snakeMovement.GetComponentsInChildren <SnakeCollider>(true); foreach (var x in cols) { x.rigid.drag = 3f; x.rigid.angularDrag = 1f; //x.transform.parent = snakePoser.transform; } snakeMovement.enabled = false; }