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.

Author
Message
luke810
17
Years of Service
User Offline
Joined: 4th Sep 2006
Location: United States
Posted: 5th Nov 2009 01:08
Can't get them to work at all, no matter what I try. Not even changing the example programs code by replacing sphere joints with distance joints. I would really appreciate an example or a snippet to work with for DarkGDK.

HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 5th Nov 2009 12:16
here you are some code on nearly all the joints, almost the same as the one in the SDK. exe in the download button.



Dark Physics makes any hot drink go cold.

Attachments

Login to view attachments
luke810
17
Years of Service
User Offline
Joined: 4th Sep 2006
Location: United States
Posted: 5th Nov 2009 16:16 Edited at: 5th Nov 2009 16:18
OK, I got it to work to some degree now, but whats with setting the spring constant? It appears to be using its own special units because I need to set it to around 10^6 before I get the spring to have enough force to hold itself up against gravity, even when the target distance is something as ridiculously small. Is this function even supported or am I doing something wrong?

HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 5th Nov 2009 18:44
when I can't get physX to work I look up the same command or nearest to it and see how the SDK do it in c++ and go from there.

Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2024-03-29 01:51:07
Your offset time is: 2024-03-29 01:51:07