Changed object to rigidbody to avoid confusion