Author Topic: Colision detection changable?  (Read 1547 times)

0 Members and 1 Guest are viewing this topic.

Offline gevatter Lars

  • Another wingnut
  • 213
    • http://gevatter_lars.tripod.com/
Colision detection changable?
Just a short question. Is it possible to change the size of these colision detection boxes?
Or to get FS to make them smaller via a little code change?
"Yes! That is my plan, and I see nothing wrong with it. I figure that if I stick to a stupid strategy long enough it might start to work."
 - comment to "Robotech: The Masters"

  

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Colision detection changable?
To my knowledge FS2_Open uses a collision system based on

1) Radius
2) Bounding box (If object isn't a weapon)
3) Actual model (If object isn't a weapon)

If an object 'passes' one level, it simply goes on to the next level. If a model is properly set up, I don't think there is a way to reduce the collision detection boxes without making certain parts of the model un-collideable.

Bombs do use an exaggerated 'radius' collision system, so it's easier to shoot them down.
-C

 

Offline gevatter Lars

  • Another wingnut
  • 213
    • http://gevatter_lars.tripod.com/
Re: Colision detection changable?
How is the bounding box created? Is their maybe a fix value that can be changed (in the code) to make these smaller/closer to the hull?
Other thing is...is their a way to pass point 1 and 2 and get the game to use point 3 for certain ships?
The problem is that in WC most caps have flytrough bays for landing and starting. If the box is to big you get a collision even when their would be enough room for the fighter to fit in.
"Yes! That is my plan, and I see nothing wrong with it. I figure that if I stick to a stupid strategy long enough it might start to work."
 - comment to "Robotech: The Masters"

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Colision detection changable?
You'd have to ask Bobb about that.
-C

 

Offline Flipside

  • əp!sd!l£
  • 212
Re: Colision detection changable?
As far as I know, that shouldn't happen with PCS conversions?