avatar
bbupton.bsky.social @bbupton.bsky.social

Calculate an XYZ aim vector from the player through the XY aim point. Also calc XYZ vectors to nearby enemies. If the angle between any enemy vector and the aim vector is less that 5 degrees, make the enemy vector your aim vector. Cross products make the calcs faster.

aug 13, 2025, 11:24 pm • 1 0

Replies

avatar
Alex Schlat @alexschlat.bsky.social

Will attempt thank you

aug 13, 2025, 11:52 pm • 1 0 • view
avatar
Alex Schlat @alexschlat.bsky.social

Solved it, thank you Mr. Upton. Will go over and iterate for better snap, but it works for now

aug 15, 2025, 5:14 pm • 1 0 • view