Mods/vector extras

From Minetest Developer Wiki
Revision as of 11:01, 9 February 2014 by Hybrid Dog (talk | contribs) (init)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
vector.line([pos, dir[, range]])

→ table of vectors

dir can be following

  • a direction
  • a position (range not needed)


vector.straightdelay([s, v[, a]])

→ number

  • s = length
  • v = velocity
  • a = acceleration (optional)