I was playing around with this and after reading the description of the /gravity rotate command got a little bit confused about how it works. I figured out it rotates you based on the direction the player is FACING instead of where they're looking. maybe add something that points your gravity in the general direction that the player is looking in? (for example, if you're standing on the ground and looking up, your gravity is switched to the up direction when using the command)
I was playing around with this and after reading the description of the /gravity rotate command got a little bit confused about how it works. I figured out it rotates you based on the direction the player is FACING instead of where they're looking. maybe add something that points your gravity in the general direction that the player is looking in? (for example, if you're standing on the ground and looking up, your gravity is switched to the up direction when using the command)