Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 12-29-2012, 08:02 PM
jdoran
Hill Giant
 
Join Date: Jul 2012
Posts: 212
Default

After more musing...

Why do Nodes have 2D bounding boxes? A node has a collection of faces, and I would expect it to have a bounding volume.

SeekNode takes an (x,y) coordinate and finds a node which intersects. At no point do I see Z being taken into account. Yet in zones with multiple levels (dungeons mainly) there would not necessarily be a unique Node for a given (x,y).

This doesn't seem a difficult problem to solve, since the same process that determines the bounding box could determine the volume. Every place where SeekNode is called has a Z value available (except recursive calls to SeekNode itself).

Which brings up another question: Why are Nodes stored in a quadtree instead of an octree?

Since my thoughts deviate significantly from what the existing code does, it would appear that I am missing something important. I hope that someone who knows this area of the code will set me straight. My motivation is to keep mobs from plowing through walls, ignoring their paths since they wrongly believe they have LOS to their destination. As this has bothered me for a bit, I figured I would take a bit of time over the holidays and see if I could get to the bottom of things.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 06:42 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3