Rick Posted May 5, 2013 Share Posted May 5, 2013 http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/camera/cameraraycast-r199 In LE2 I seem to remember we could provide a distance (z) value for how far out to pick. This can be useful. Quote Link to comment Share on other sites More sharing options...
Josh Posted May 5, 2013 Share Posted May 5, 2013 The camera far range is used for the distance. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Rick Posted May 5, 2013 Author Share Posted May 5, 2013 Can you overload the function to take a Z value? It won't break anything that way and give more flexibility. Quote Link to comment Share on other sites More sharing options...
Josh Posted May 5, 2013 Share Posted May 5, 2013 Why would you need to? It will pick the first hit entity. If you want to limit the range, just ignore it if the picked position is further away from the camera than a certain value. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.