```lua
function ADVR.onGlobalTick()
local vel = BombRef.rigidb.velocity
if vel.x > 1.0 or vel.x < -1.0 then
vel.x = vel.x * SlowdownFactor
end
if vel.y > 0.0 then
vel.y = vel.y * SlowdownFactor
end
if vel.z > 1.0 or vel.z < -1.0 then
vel.z = vel.z * SlowdownFactor
end
if BombRef.rigidb.useGravity == false then
vel.y = vel.y - 0.1
end
BombRef.rigidb.velocity = vel
end