Followers

Friday, February 10, 2012

Week 2

Week 2 was spent getting a rough version of ball launching done. It was a bit of a challenge getting the ball to circle the crane as if it were on a string and then launch.

I also spent close to 12 hours working on a way to touch the ball on the screen and control it that way, but I didn't realize I could have used glUnproject and glProject to figure this out without all the trig work I put in.

We ended up deciding to use the whole screen for the launching, where the farther back the ball is pulled, the more velocity is put on it, and the angle of release is determined by the position it's released between half screen and the edge of the screen.

It's pretty buggy and it sometimes launches backwards. This is the chore for next week.

No comments:

Post a Comment