Fixed bug thing part II
This commit is contained in:
parent
d6de26180b
commit
5f0256e0af
|
@ -50,8 +50,8 @@ end
|
|||
|
||||
function Fairy:DoPhysics()
|
||||
|
||||
local random_x = math.random(-0.04,0.04)
|
||||
local random_y = math.random(-0.04,0.04)
|
||||
local random_x = math.random(-4, 4)/100
|
||||
local random_y = math.random(-4, 4)/100
|
||||
self.vel.x = self.vel.x + random_x
|
||||
self.vel.y = self.vel.y + random_y
|
||||
-- move
|
||||
|
|
Loading…
Reference in New Issue