diff options
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 |
