NWN like movement
NWN like movement
Does anyone know how to do something like when you click at a spot on the map the player goes to that x, y, and z coordinate? Like how Neverwinter Nights does it. Thank you!
"Without curiosity and knowledge, the mind is a vast void. Without the mind, curiosity and knowledge are nonexistent."
I guess you could do this by creating a triangle selector for your level and then, using getrayfromscreencoordinates, get the appropriate triangle and then just intersect that triangle with the given ray to calculate the desired position. The rest of the work is pathfinding etc.
Raw data for raw nerves
My main PC: Athlon XP 2800+, 512MB RAM, ATI Radeon 9700 Pro 128MB, Win2k SP4
My secondary PC: Pentium III 500 Mhz, 256MB RAM, TNT2 64, Gentoo Linux
My main PC: Athlon XP 2800+, 512MB RAM, ATI Radeon 9700 Pro 128MB, Win2k SP4
My secondary PC: Pentium III 500 Mhz, 256MB RAM, TNT2 64, Gentoo Linux