Re: What does has collide box meant?


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]

Posted by Alexei Novikov on January 14, 1998 at 17:02:16:

In Reply to: Re: What does has collide box meant? posted by Pele on January 14, 1998 at 11:08:18:

> > What does the sector flag Has Collide Box mean? When should it be set...
> > when should it not be set?

> The collide box prevents things and people from entering the sector
> ( i am pretty sure)

No, collide box is optional additional data for the sector to speed up
collision detection. Right now JED doesn't calculate collision boxes. And
it simply clears this flag when you create a JKL, even if you set it.

This doesn't matter for small levels. For large levels (like those in JK)
it may make a difference. In one of the next versions I'll add collision
box calculation.

BTW, if someone's interested, you can make a test: run JK, turn on
framerate counter and play Fuel Station. Watch the framerate counter. Then
load Fuel Station to JED, save it to JKL and play this new level also
with framerate counter on. See the difference. The maximum difference should
be when a lot of action going on.

Alex.


Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]