BlackBulletIV wrote:I'm guessing that means that there's two conflicting variables in different scopes?
Another thing I've found that both these methods do is make time faster, though not as fast as it would be without them. It's all very confusing.
EDIT: Oh yeah, here's my latest code:
<CODE SNIP>
Code: Select all
if dt > maxDelta then
local left = dt --Might as well move this in here
while left > maxDelta do
world:update(maxDelta)
left = left - maxDelta
end
world:update(left) --ONLY WHAT IS LEFT
else
world:update(dt)
end