Math addon

From SolarStrike wiki
Jump to: navigation, search

string.alternate

number math.distance(x1, y1, x2, y2)

Returns the distance between 2 points.

Example

  local dist = math.distance(0, 0, 10, 10);