Changes

Jump to: navigation, search

GAM666/DPS901 Victorious Secret

878 bytes added, 21:28, 30 October 2011
Instructor's Comments
** what happens when sun is off
=== Suggestions ===
* for a camera moving in a circle try:
** the launch point and the target are fixed - so from the mid point you can measure an angle to the current location of the projectile [0 -> 180]
** you can position the camera with respect to the same mid-point at the same angle as it moves around the circle - this way it will leave and arrive at the same time that the projectile does
** the calculations could be in the same place - Design::update() or in Camera::update() - probably better to keep them separate - add a query to Design to extract the angle into Camera::update() - it's up to you
** so the first step is getting the angle from the projectile's position
** second step is derive a special follower Camera class and add the logic there
** the calculations need only be done if the camera is the current one
** start with the transformation code in the Camera::update()
* make sure that each of you is comfortable with svn - put in a small change to the framework - merge back into trunk - update
** you will be doing this often as time goes by

Navigation menu