Bennetts Virtual Zoo (3-D FPS Platformer Demo with Lasers)

You're viewing a single comment in a conversation. View all the comments
  • 5 Comments

  • Order by
  • Remarkable! Couldn't you also post the full project so that we can see the laser code? Or maybe just give a high-level description of how it works, if you prefer. Btw, I came here from Reilly's showcase video.

    • Okay, ask and ye shall receive! Updated, fully commented, with enough appendices to make the Silmarillion blush!

      • Thank you so much man! It'll help me a lot with my own game. I also want to implement a ray cast, though not visually as a laser and not necessarily with reflections. I just want the player to be able to select 3D objects while playing with a first-person camera, so I'll check the first thing the ray hits :)

    • Hey, thanks!

      I'm certainly open to the idea, but it'll take me a while to fully comment the laser system.

      For now, I'll just say thanks to FoozleCC for the overall algorithm and for pointing out that the Line of Sight behavior has a super-easy-to-use "Cast Ray" action that makes 2-D lasers practically plug-and-play.