VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Collision Function

Nicholas Forystek  (14 Submissions)   Games   VB 6.0   Advanced   Mon 10th February 2020

This is a single function from a collision library I put together
that I've been recreating from code absolutely missing for years. Among
other functions the focus of this code is about the first function below
(there is a plethora of other math functions for vectors). This
particular function takes in three vector or vertex sized argument
inputs, where as you would usually see four, one for the point and one
for each point in the triangle. The inputs form left to right is the
points X, Y, Z then the three lengths of the triangles sides, and lastly
the triangles normal. The center should be extracted from the point
before you send it as an argument, the center need not be known by the
function then, and just the normal (not vertex or coordinate normal, the
triangle normal).

Rate Collision Function (2(2 Vote))
Collision Function.bas

Collision Function Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters