diff options
| author | ne_mene <[email protected]> | 2026-03-12 20:03:59 +0100 |
|---|---|---|
| committer | ne_mene <[email protected]> | 2026-03-12 20:03:59 +0100 |
| commit | 80564184d492227d4a403358e0f3ffdef0ff008e (patch) | |
| tree | 41e3e2b8a411ba5483f6f3eb8f6f9ec61cb02fc3 /src | |
| parent | b56acf6882d542d4466e6eec6228e280be98f53d (diff) | |
touch reset
Diffstat (limited to 'src')
| -rw-r--r-- | src/phys.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/phys.lua b/src/phys.lua index 10691a9..126b5a8 100644 --- a/src/phys.lua +++ b/src/phys.lua @@ -127,6 +127,9 @@ function phys.Box:update(velx, vely, dt) local small_side = math.min(self.width, self.height) local steps = math.ceil(vec_len(velx * dt, vely * dt) / small_side) + self.touchx = 0 + self.touchy = 0 + -- this block is fat. much like a certain croatian... -- not anymore :D -- shut up |
