Jump to content

Recommended Posts

Posted

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)

Stop toying and make games

Posted

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.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...