Date: Oct 9, 2013 11:31 AM
Author: MathUser1
Subject: Game Question (linear/vector?)

Hi,

I have a game where I have player coordinates in a matrix as so:
[x1 y1 z1]
[x2 y2 z2]
[x3 y3 z3] for 3 players.

I need to find the x,y,z vectors from (x0,y0,z0) [coordinate of npc] that intersects with the max number of players (if one exists).

Any idea how to do this?