Uploaded June 2013 | Updated November 2026, 2 days ago
We need to get our laser weapon to intersect with the floor, so we do a line plane intersection to simulate that. We use a trick involving vector projection to develop a super fast way of calculating the intersection.
Find the source code here: github.com/BSVino/MathForGameDevelopers/tree/line-plane-intersection
Question? Leave a comment below, or ask me on Twitter: twitter.com/VinoBS
We need to get our laser weapon to intersect with the floor, so we do a line plane intersection to simulate that. We use a trick involving vector projection to develop a super fast way of calculating the intersection.
Find the source code here: github.com/BSVino/MathForGameDevelopers/tree/line-plane-intersection
Question? Leave a comment below, or ask me on Twitter: twitter.com/VinoBS










