• Get Room Bounds
    2 replies, posted
Hmm i want to get the Room bounds like i spawn an entity on rp downtown and it says or prints me the Top front left and the bottom back right Edge of the room ! i am thinking about trace but i have no plan how i could to this perfectly
There's no way you can do it perfectly, but what you can do is trace into each of the six directions and get the height, width and length of the area the entity is in, assuming it is a square area at all times.
hmm i did that method and drawbox => i need this for my watersystem so i can actually say that i am making for each room 1 entitywhich controls the water height and if two watersystem can see them its flowing from one to anothher one.. and yes its a little bit not perfect because props are not "included" but its actually just a simple water flow simulation without huge stress 4 the server! [editline]22nd September 2015[/editline] ok i got it but the water textures are black [url]http://prntscr.com/8j8gz2[/url] => i used models/shadertest/predator but it has an "distance" fading
Sorry, you need to Log In to post a reply to this thread.