VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

A collision avoidance system for games using DotProduct.

Peter Wilson  (25 Submissions)   Games   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

Demonstrates how to code an intelligent early warning collision detection system for a simple game of Asteroids. Uses matrix multiplication, vector maths and clearly demonstrates an excellent use for the DotProduct between two vectors. I placed this in the games section, because this is the start of a game, however I wanted to show you my debugging code before I pull it all out, as this debugging code very clearly demonstrates how to use the DotProduct between vectors. Making a good game is sometimes about Maths!

Rate A collision avoidance system for games using DotProduct. (10(10 Vote))

Download A collision avoidance system for games using DotProduct.

A collision avoidance system for games using DotProduct. Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters