Most used math function and constants?

it’s depends. for magnitude most people use math.abs, so this thing turns number with minus at the start to plus (we don’t see this plus of course). i saw alot of calculations with math.pi, this is very useful constant number. i would name my list of others useful things:

  • math.floor
  • math.ceil
  • math.clamp
  • math.random
  • math.deg, rad
  • math.sin, cos, tan

i think thats the most useful math functions.

2 Likes