Skip to content

Commit

Permalink
[lua] bombs rotates
Browse files Browse the repository at this point in the history
Former-commit-id: d0a3386abcaedc99004ba7eb366dec6de63ae308
  • Loading branch information
marcinklimek committed Jul 14, 2021
1 parent 6cb762b commit 912fea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/hec/cc/bin/data/scripts/game_01-coins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ local function Ball(world, bounds)
of.pushMatrix()

of.translate(body.position.x, body.position.y, 0 )
of.rotate(body.angle, 0, 0, 1)
of.rotateDeg(body.angle, 0, 0, 1)

local lx = -self.r
local ly = -self.r
Expand Down

0 comments on commit 912fea4

Please sign in to comment.