How to get the 3D position where the player is aiming / shooting?

I want to get the position where the player is looking at. So if he was shooting a weapon it would be the wall the bullet first collides with.

Is there any way to get this position in Verse? There is fort_character.GetViewRotation, but there seems to be no raycast to determine the end position.

Hmm I dont think line traces are a thing yet so perhaps you’d have to create your own. Somehow spawn a line from the center of the player’s screen and create a variable for the collided actor? I’m new to programming but just my guess.

No raycast API currently, but maybe in the future:

1 Like