Today, for me, has been a day of maths. I was given the task of calculating the rotations for our rotating wall taking into account the position of the collision and the direction the collision object was heading. It didn't take me too long to nut out a solution, however I haven't had a chance to test it so fingers crossed.
I also worked on sphere-square collision. My solution to the problem was to calculate the distance from the center of the sphere to the closest point on a line and then subtract off the radius. Yay Science!!
Monday, December 1, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment