adonthell-devel
[Top][All Lists]
Advanced

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

Re: [Adonthell-devel] New physics engine for 0.4, test 2


From: Kai Sterker
Subject: Re: [Adonthell-devel] New physics engine for 0.4, test 2
Date: Sun, 29 Sep 2002 20:33:32 +0200

On Sun, 29 Sep 2002 19:16:48 +0200 Alexandre Courbot wrote:

> Hi guys,
> 
> I've cleared my Python prototype (actually I've rewritten it), and
> here is the second take, with objects that slide! It doesn't work too
> bad, but there are still some bugs from time to time (ie the object
> manage to pass through because of a bad placing), but I think I know
> where they come from and this should be quickly fixed. 

Here's another one:

Traceback (most recent call last):
  File "test_intersec2.py", line 467, in ?
    realv = obj1.intersect(obj2, v)
  File "test_intersec2.py", line 336, in intersect
    r = l1.segments_intersect(l2)
  File "test_intersec2.py", line 176, in segments_intersect
    r = (Ty * (D.x - C.x) - Tx * (D.y - C.y)) * denom
OverflowError: integer multiplication

I always get it when I try to slide upwards along the right side of the
triangle.


> Anyway, once
> this is done the basics of the basics of 0.4 map engine will be
> settled, and that's a good news. I'm full of motivation these days, so
> I'll try to do the maximum while it last! ^_^

Cool! I'm really burning to see these things working with actual
mapobjects :). What I've seen so far is really neat. Great work!

Kai




reply via email to

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