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