Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / Dark Dynamix error from groups demo dynRaycastHitGetDistance@@YAMXZ

Author
Message
fpprog12
8
Years of Service
User Offline
Joined: 27th Nov 2010
Location:
Posted: 1st Feb 2014 01:26
I just bought Dark Dynamix and get an error when running the Groups demo: "Could not find function ?dynRaycastHitGetDistance@@YAMXZ in 35arkDynamix.dll. I saw an old post about it and there is supposed to be an update. I must have the latest version because I just bought it a few days ago. Does anyone have any new information about this issue?
Matty H
10
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 2nd Feb 2014 13:40
Yes, this is a known issue with the dbpro version.

For now you just calculate the distance from the start and end point.

distSquared# = (x1-x2*x1-x2) + (y1-y2*y1-y2) + (z1-z2*z1-z2)

You should always try to use the squared result if possible for comparing distances etc.

If you need the distance then:

dist# = sqrt(distSquared#)

You may have already knew this formula of course but it is good to have it here in this thread

Login to post a reply

Server time is: 2019-08-24 05:40:06
Your offset time is: 2019-08-24 05:40:06