Shard Posted March 8, 2010 Share Posted March 8, 2010 Hi, I'm doing some A* work and I need to raycast so that I only get the terrain in the pick, so I can determine the height of the terrain. Is there a way to filter out everything else except the terrain? Thanks Quote Programmer/Engineer/Student www.reikumar.com 2.6 GHz Intel Core Duo - nVidia GeForce 8600 GT - Windows 7 64-bit - 4 Gigs RAM C++ - Visual Studio Express - Dark GDK - Leadwerks SDK Link to comment Share on other sites More sharing options...
Rick Posted March 8, 2010 Share Posted March 8, 2010 By entity type. I think the raycast method has a parameter that is the entity type to look for. Make that your terrains entity type and make sure nothing else uses that but the terrain to avoid any bugs. Quote 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.