Sign in to follow this  

Fire ray from player camera?

Recommended Posts

Simply put, I would like to fire a ray straight out of the player's view. Sort of if as to fire a bullet down the screen's centered crosshairs, but instead to instantly pick the first mesh the beam hits. I'm bad at vector math, and haven't been able to piece anything together after a lot of experimenting and searching. Could someone lend a hand?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.