diff options
| author | the lemons <citrons@mondecitronne.com> | 2022-12-26 02:43:02 -0600 |
|---|---|---|
| committer | the lemons <citrons@mondecitronne.com> | 2022-12-26 02:43:57 -0600 |
| commit | b7aca18f4c80426f528bc650e1f6bd01437c8a89 (patch) | |
| tree | 1b2b7a16eff56e57f916754d89e1928ca170abde /main.lua | |
| parent | ede9af54010eab4eb6ee1b81fe9d6a0333846e88 (diff) | |
improve collision code
Diffstat (limited to 'main.lua')
| -rw-r--r-- | main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ local selection for i = 1, 100 do obj.new("test", {math.random() * 1000 - 500, math.random() * 1000 - 500}, { avel = math.random() * 0.5 - 0.25, - vel = {math.random() * 0.5 - 0.25, math.random() * 0.5 - 0.25} + vel = {math.random() * 1 - 0.5, math.random() * 1 - 0.5} }) end |
