Difference between revisions of "Mods/vector extras"
Jump to navigation
Jump to search
Hybrid Dog (talk | contribs) |
Hybrid Dog (talk | contribs) |
||
Line 9: | Line 9: | ||
<source>vector.fine_line([pos, dir[, range], scale])</source> | <source>vector.fine_line([pos, dir[, range], scale])</source> | ||
→ table of vectors | → table of vectors | ||
− | + | * like vector.line but more precise | |
− | like vector.line but more precise | + | * needed for not round positions |
− | needed for not round positions | ||
Revision as of 11:46, 9 February 2014
vector.line([pos, dir[, range]])
→ table of vectors
dir can be following
- a direction
- a position (range not needed)
vector.fine_line([pos, dir[, range], scale])
→ table of vectors
- like vector.line but more precise
- needed for not round positions
vector.straightdelay([s, v[, a]])
→ number
- s = length
- v = velocity
- a = acceleration (optional)