Rotating & vanishing Guards
|
Okay! This week has been a very interesting one! I have been further working on our level design and have been adding in rotations to our stationary guards. I also had to remake all of the patrolling patterns for our guards since there was some issues with how the guards spawned in comparison to where they wanted to patrol. I solved the patrolling guard issue quite easily, it was just a bit of tedious work on it to get it working properly. The rotation of the stationary guards was, for me, difficult in the beginning and ended up being a bit of a guessing game since I had no idea how to do it and the programmers had a hard time remembering how they did it. The main problem I had with it was this: I had to write the angle of which the guard starts rotating from and the angle where it turns and starts rotating back again. The guard in the picture for an example rotaded 270 degrees to 90 degrees. The thing I found to be most complicating about this was to make him rotate on the right side, to make this happen (if the guard didn’t rotate towards the hallway, but instead straight into the wall) was to simply flip the order of the angles in the document. I think I probably managed to make them rotate the wrong way every time and didn’t do it right from the start even a single time… But anyways, easily solved! |
