Jump to content
gc8

3D cursor position

Recommended Posts

Hi

is there a command or way to get the cursor position in 3D where the player is aiming? I would use cursortarget but it returns only contact on objects and not on surfaces.

 

thanks!

Share this post


Link to post
Share on other sites
getposATL cursorTarget

 

that wont work because cursorTarget only returns objects.

Share this post


Link to post
Share on other sites

I think i found it: screenToWorld [0.5,0.5]

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

×