Jump to content
JuanAdamuz97

WorldtoModel from player vector View Intersection

Recommended Posts

My mind is about to blow up...

I need to create a vector, line, whatever, from my eyes to 10 meters away from my eyes (10 meters in front of me). Now with lineIntersectsObjs command (Or Other) detect what objects is intersecting with that vector and get the worldToModel position of the player from the intersection...

 

A picture that explains itself.. Thanks!!

f045420f46d2a6affaa1acc77f3d1943.jpg

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×