Question: Question 2: (15 pts) For this question, please answer with decimal numbers rather than fractional form. The player is at position (-4, 0, 3) facing

Question 2: (15 pts) For this question, please answer with decimal numbers rather than fractional form. The player is at position (-4, 0, 3) facing the point (4, 0, 5) and we need to spawn in 6 enemies. Specifically, we want these enemies to appear on the ground (y = 0) and evenly distributed around in a circle of radius 11 centered on the player with the first enemy straight in front of the player. Compute and draw all the needed spawn positions using vectors and matrix operations since this is what would be uses programming context where the player's position/orientation would vary dynamically. Note: This can be done with a single sin() and cos() computation, the rest being matrix operations. Diagram (seen from the top): Spawn positions on this cicle (radius not to scale) Player looking I position at point
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
