Search ProofOfProgress Blog

Monday, April 25, 2011

line circle collision 2D source code


Download Source: ****HERE****

When your ball has NO VELOCITY, or you are doing a simple bouncing ball script without capsule collision, then this is the script for you. It will take the intersecting ball and line and PUSH, the ball away from the line until there is one point between the ball and line touching. This is the collision point.

Written In Maxscript. Will be re-writing a version for actionscript.

No comments:

Post a Comment