cassius Posted January 2, 2014 Share Posted January 2, 2014 Hi. Is GtDistance the same as EntityDistance was in le2? Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Rick Posted January 2, 2014 Share Posted January 2, 2014 There are 2 ways to get distances. Between 2 entities : http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/entity/entitygetdistance-r800 Between 2 points: http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/vec3/vec3distancetopoint-r403 These do the same thing as EntityDistance in LE 2. Quote Link to comment Share on other sites More sharing options...
cassius Posted January 2, 2014 Author Share Posted January 2, 2014 I already know one of those, but thanks anyway Rick. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ 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.