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 / Collision data commands not working.

Author
Message
Freddy 007
19
Years of Service
User Offline
Joined: 30th Nov 2004
Location: Denmark
Posted: 2nd Aug 2006 05:47
Hi

I noticed that the collision data commands aren't working very well. Or, at all. The following commands are mentioned in the DP documentation, allthough none of them work, what so ever:

float = phy get collision normal force x ( )

float = phy get collision normal force y ( )

float = phy get collision normal force z ( )

float = phy get collision friction force x ( )

float = phy get collision friction force y ( )

float = phy get collision friction force z ( )

float = phy get collision point x ( )

float = phy get collision point y ( )

float = phy get collision point z ( )

float = phy get collision normal x ( )

float = phy get collision normal y ( )

float = phy get collision normal z ( )

Actually, the only three I can get to work are:

integer = phy get collision data ( )

integer = phy get collision object a ( )

integer = phy get collision object b ( )

And, why? Can someone enlighten me, please?


Xarshi
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location: Ohio
Posted: 2nd Aug 2006 06:42
are you calling the commands after phy get collision data?

About -10 min. if tgc is nice

well,it'll be released apparently at 1:00am for me. But who cares,I've stayed up all night plenty o' times
Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 2nd Aug 2006 09:37
Check the collision data section of the information manual for an example of how these things work.
Freddy 007
19
Years of Service
User Offline
Joined: 30th Nov 2004
Location: Denmark
Posted: 2nd Aug 2006 15:12
But, the problem is that those commands doesn't highlight in the editor, and they produce a compiler error.


Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 2nd Aug 2006 15:16
Looks like some of the documentation needs changing. I'll get things adjusted for those listings.
Freddy 007
19
Years of Service
User Offline
Joined: 30th Nov 2004
Location: Denmark
Posted: 2nd Aug 2006 15:17
So, are the commands there, but with a different syntax?


Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 2nd Aug 2006 15:18
Things just need changing round. Will be a new version uploaded as soon as possible.
Freddy 007
19
Years of Service
User Offline
Joined: 30th Nov 2004
Location: Denmark
Posted: 2nd Aug 2006 15:23
Sounds great, thanks.


imekon
17
Years of Service
User Offline
Joined: 3rd Jul 2006
Location:
Posted: 3rd Aug 2006 11:49
Meanwhile what should the commands be?

x# = phy get collision normal force x()

just gets a compiler error.

Pete Goodwin
Spambergo
20
Years of Service
User Offline
Joined: 10th Oct 2003
Location: CT, USA
Posted: 20th Sep 2006 19:24
Just wondering, has this issue been sorted out or addressed? I just recently bought Dark Physics, and these commands still aren't working.

Login to post a reply

Server time is: 2024-04-19 02:28:36
Your offset time is: 2024-04-19 02:28:36