BIS 3325 Home Page The Prior Page The Next Page
Middlesex Logo

Lab 6: Move Space Wars Agent

  1. Turn off the gravity of the sun. (1 point)
  2. Move the agent over the point 100,100. (3 points)
    The agents Rotation.Z sets its Rotation in the X plane. Setting the agents Rotation.Z = (float) 3.14; sets it to point down. I also used Atan2 to convert a vector to radians.
  3. Turn the gravity back on, then move the agent over the same point. (2 points)
  4. Turn off the gravity again, and see if you can get the agent to stop at this point. (2 point)
  5. Finally, do it with the gravity back on. (2 points)