Ive been looking all over for a way of doing this, but i cant seem to find anything.
I have a node in a map(the quake2 map that comes with the download) I need to find the distance from the node to the wall in front of it. Eventually I will have to find the distance to walls around the node, but ill start with just one for now. Im new to irrlicht and I really have no idea how to go about doing this. If the wall was another node, I could get it done, but since it is the map I dont know where to go or what to use.
example:
Code: Select all
Wall
------------------------------------
^
|
|
| distance
|
|
_______
| |
| Node|
|_______|
thank you.