Jump to content

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!!


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