| 07-02-2009, 06:39 PM | #1 |
As title, is it possible to set a units flying height to a negative value by code? It seems to me that 0.010 is the lowest possible value. (Don't read this if you know the answer already) I need the above to set the height of water models below ground. Else the water is impossible to place in "swampy" areas with alot of small spots of water. It is possible to do this with pre-placed water (since holding shift allows negative flying height), but I need the water to be placed by triggers. edit: After some experienced I've encountered a new bug. You CAN set a negative flying height if the unit has an initial negative flying height in the editor. But as soon as you set the flying height to a positive value by code, you can't set it negative again unless you recreate the unit. Any way around this? =/ |
| 07-03-2009, 11:04 AM | #2 |
Hmm perhaps you could attach the water model to a dummy unit which has an attachment point which is lower then the zero point. I got the idea from when i used an invisible inversed impale model for impale, sending the units down into the ground ;) |
| 07-03-2009, 06:38 PM | #3 |
Unfortunately, I never found a decent work around. For example, putting the model 500 lower so that it appears underground causes rendering errors (it doesn't appear even though it should). Lame. |
| 07-07-2009, 04:07 PM | #4 |
Solved by placing the model offset 500 above its origin and adjusting triggers to compensate. No rendering errors this way (... so far)! |
