How to make a ball go higher depending on how high you look up

I’m trying to add a camera height checker so if the player looks up once they kick a ball it will cause the ball to reach further height. Problem is I have no clue on how to replicate this. You can find this mechanic in Super Blox Soccer - Roblox. All I’m asking for is how I would go checking the camera look height not anything else. Help would be greatly appreciated.

You’ll need to utilize a LocalScript where you use UserInputService to track camera movement angles and then adjust the ball’s height dynamically based on the camera angle.

This service enables us to capture the input required to determine how the player is looking and adjust the ball’s height

Edit: in this case you will detect the mouse movement

1 Like

If the player is using shiftlock will it still detect the mouse movement? And also how do I track camera movement angles using UIS?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.