Is there a way to set boundaries on how high or how low a Vector3 value could go? (I.e. In a look up or down script that follows the player’s mouse and aims the uppertorso in that direction, how would I make it so that if the player is looking straight up, his back doesn’t like...break)

4 comments

0

You would need to add that logic into the script. math.min and math.max could help or just include your own if statments

0

So it’s as simple as putting something like math.min(0), math.max(90) or something?

0

Oh yea forgot about if statements...