YouGroove Posted April 14, 2014 Share Posted April 14, 2014 Would be good to have global/local parameter explained. Does it makes sense ? a distance is absolute no need for global/local. This function gets entity's velocity, in global or local space. Syntax double GetDistance(Entity* entity) Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Rick Posted April 14, 2014 Share Posted April 14, 2014 The doc is wrong when it talks about velocity. Clearly this just gives you the distance between 2 entities. This means there is no global/local space for the GetDistance() function. 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.