So basically I have the player position and its rotation value. How can I get the facing direction so i can use that for raycast.
Thank you.
So basically I have the player position and its rotation value. How can I get the facing direction so i can use that for raycast.
Thank you.
You should be able to use .forward in order to raycast in the direction you are facing.