| Sam Davies 2004-04-07, 10:33 pm |
| Hi,
I'm in the process of creating a VRML pinball game, I've got to the
stage where the ball rolls down the board and can be shot back up. The
edge collision at the moment simply reverses of the ball when a wall
or object is collided with. I would now like to, however, include a
curved end - which firstly will allow the ball to travel round when
launched from the spring and secondly to produce some slightly
different collision results as apposed to the standard predictive
change in angle.
Does anyone have any ideas as to how i would go about working out a
curved edge collision algorithm, that can be used for elements such as
the curved end and circular obstacles.
Cheers
Sam
|