adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-devel] Re: Waste's Edge runnable with worldtest, but ...


From: Kai Sterker
Subject: [Adonthell-devel] Re: Waste's Edge runnable with worldtest, but ...
Date: Thu, 18 Mar 2010 22:29:33 +0100

On Thu, Mar 18, 2010 at 8:20 PM, Kai Sterker <address@hidden> wrote:

> But here's the catch: as soon as you start moving, the screen turns
> black. I've added some debugging output and it looks like the
> character position gets changed to a strange value:

> Strange thing is, it only corrupts the Y value. Z will change because
> there is no ground at that location, so the character will start
> falling.

> Firing up the debugger now, but any insight will be appreciated :-).

Seems to be a bug in the collision code:

Breakpoint 49, world::moving::update_position (this=0x29a1c90) at
../../../adonthell/src/world/moving.cc:298
298         float y = (finalPosition.y() - 1) * eRadius.y();
(gdb) print finalPosition
$11 = {
  X = 15,
  Y = -nan(0x7fffff),
  Z = 1.00237501
}

Need to backtrack from there to find the issue. Could be caused by a
corrupt model, or a constellation we did not yet have in our previous
test worlds.

I'll keep you updated.

Kai




reply via email to

[Prev in Thread] Current Thread [Next in Thread]