|
Author
|
Topic: Polyflag question for MH
|
Laika 801 Pilot
|
posted 06-09- 03:52 PM
Here it is:Would polys with a polyflag-PolyStyle 1,2,3 (only dots etc) still receive hits like a "normal" SolidFilledPolygon ? LK IP: Logged |
Michael Harrison General
|
posted 06-10- 11:53 AM
No, the style is checked and anything that isn't of style 0 will not be checked for collisionsIP: Logged |
Laika 801 Pilot
|
posted 06-10- 03:47 PM
Damn ! That would make some new ideas working. But maybe complete transparent polys will do the same job...Thank you ! LK IP: Logged |
Bryan Russell Pilot
|
posted 06-12- 09:46 PM
Hey Laika, since the highest detail LOD is used for hit detection, what about if you made a mesh that represented your hit zone and then gave it a rediculously low switchin value. Then make a lod with no polys as the Mesh that would be switched in all of the time.If you wanted to make sure the Hit LOD was never seen, make it transparent, but at least the transparency wouldn't be sucking CPU all of the time. BTW I don't think you can make a poly totally transparent (without using textures) because the '0' value is reserved to indicate no transparency. Bryan
------------------
IP: Logged |
charmstar Pilot
|
posted 06-12- 10:26 PM
Why not just make it obHidden, like the engines on many of the SDOE planes?charm IP: Logged |
Laika 801 Pilot
|
posted 06-13- 02:36 AM
Yeah Bryan - I did it like that (works good so far) - charmstar - the reason obHidden does not work for me is that also the childs would be hidden (somehow even when they are set to obNoHide). One other thing I found is that transparent polys (textured transparency and "coloured" transparency) are not hit-sensitive, i.e. I can shot through the canopy and props (fastprops). Is this right, or is something wrong with the parts ? LK
IP: Logged |