425
421
if maxVel.y and vel.y > maxVel.y then vel.y = maxVel.y end
426
422
if minVel.rotation and vel.rotation < minVel.rotation then vel.rotation = minVel.rotation end
427
423
if maxVel.rotation and vel.rotation > maxVel.rotation then vel.rotation = maxVel.rotation end
429
429
if self.onUpdate then self:onUpdate(elapsed) end