If I Have a volume in the level, how can I get the location of its bounds, like The location of the Min X point, Max X point and the same for Y and Z??
I am unable to find a property within volume that has the locations for these values!!
If I Have a volume in the level, how can I get the location of its bounds, like The location of the Min X point, Max X point and the same for Y and Z??
I am unable to find a property within volume that has the locations for these values!!
You can select vertices or edges in geometry mode. You can also get values by selecting the brush, copy, paste to text editor.
thats very interesting n nice
how can i let unreal script know these values?? runtime ofcourse...

Volumes are not necessarily axis-aligned, so there's no point in exposing such values. You should instead mark the volume's location with an actor and if something is near that location you can perform a specific Encompasses() check.
Wormbo's UT/UT2004/UT3 mods | PlanetJailbreak | Unreal Wiki | Liandri Archives
- Everything you ever wanted to know about replication (but were afraid to ask) [also in German]
- UnrealScript security considerations
Note that your questions via PMs will be ignored if they actually belong in the forum.<elmuerte> you shouldn't do all-nighters, it's a waste of time and effort
<TNSe> nono
<TNSe> its always funny to find code a week later you dont even remember writing
<Pfhoenix> what's worse is when you have a Star Wars moment
<Pfhoenix> "Luke! I am your code!" "No! Impossible! It can't be!"
Well if you know them you can enter them arbitrarily. Otherwise look at Engine.Brush http://www.codekisk.com/unreal/ut3/scriptref/Source_engine/brushcomponent.html#11
I believe you will haveto get the brush component of you volume(s), access the BrushAggGeom, iterate through the struct(s) and perform any needed math.
Bookmarks