Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: BSP.Setpositon??  (Read 1124 times)
bbence
Customers
Community Member
*****
Posts: 885


WWW
« on: December 29, 2002, 01:17:54 PM »

Where exactly does it put the BSP? Cos if I call BSP.Setpositon(0,0,0) i would expect that the lowest X,Y and Z value to be 0. But it's not. It's something different. It's not centering to 0,0,0 either. So what's the solution? Smiley
Logged
bbence
Customers
Community Member
*****
Posts: 885


WWW
« Reply #1 on: December 29, 2002, 02:44:43 PM »

Another question: does the pathfinding use A*? Just corious. I'm creating a BSP file "analyzer" for pathfinding. I know you can load info_nodes from the BSP file but this going to be more easier since it's almost automatic, placing nodes automatically cos it's using SphereCollosion for analizing. Here is a screenshot:
Logged
SylvainTV
Administrator
Community Member
*****
Posts: 4479


WWW
« Reply #2 on: December 29, 2002, 03:13:40 PM »

For the first question, bSP.SetPosition just translates the current bsp.
Remember the origin 0, 0, 0 of the bsp will be originally at 0,0,0 in the scene.

About the Path finding, it uses the Dijkstra's algoritmh, that is quite fast for a node-based system Smiley
Logged

Regards

Sylvain Dupont
TrueVision3D Developer
sylvain@truevision3d.com

TV3D IRC at http://chat.truevision3d.com or on server irc.truevision3d.com #Truevision3D. Come talk with us !
bbence
Customers
Community Member
*****
Posts: 885


WWW
« Reply #3 on: December 29, 2002, 03:20:39 PM »

Quote from: "SylvainTV"
For the first question, bSP.SetPosition just translates the current bsp.
Remember the origin 0, 0, 0 of the bsp will be originally at 0,0,0 in the scene.

About the Path finding, it uses the Dijkstra's algoritmh, that is quite fast for a node-based system Smiley


Origin? What's that exactly? It's brush or what? Never heard of it... Will look into now. Smiley
Logged
bbence
Customers
Community Member
*****
Posts: 885


WWW
« Reply #4 on: December 29, 2002, 04:42:35 PM »

OK, I found it out. After playing a bit with my levels position in WorldCraft. Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks