![]() ![]() Meaning you'd never be able to go into 3rd person. ![]() If you move your camera in 3rd person, even just slightly, it would reveal areas invisible from the original, and the player's, position. The obvious problem with the first two would be the size of error. The other methods are detailed in the fourth post of this thread. In order to be able to see them, you must get to a position where your character can actually see that enemy unit. ![]() If you're in third-person, and you're standing behind a wall free-looking around to the other side of it, any enemy units on the other side will not be visible. So as long as you're in first-person, the game plays exactly as it normally does. If you're in first-person, all enemy units are set to visible at all times. ![]() If there is a direct line of sight to a unit, that unit is set to visible. The script loops every half second to check if there is a direct line of sight from the player's eye position to each enemy unit. Or I can make video demonstrations for the other methods, too, I guess.īasically, every enemy unit is set to invisible by default. If there's any interest, I'll develop it further. I wrote the code for this particular method about an hour ago and didn't spend too much time on it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |