Is there any built in library for min, max, vector.magnitude, etc? (SOLVED)

is there anything else except of vmath.*

1 Like

It’s regular lua, so you can use the math module: ```math.max(1,2)````

Also, vmath.length gets you the magnitude of the vector.

4 Likes

thanks a lot JCash!

2 Likes

You’re welcome @nicloay! :slight_smile:

1 Like