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 / [PhysX] phy get rigid body type !

Author
Message
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 13th Feb 2010 17:32 Edited at: 13th Feb 2010 17:52
Hi all

Just in case someone opens the PhysX Pandora's box and make some changes.

here one I found in the help file for command set
Quote: "phy get rigid body type "

it say that it should return the following number for that type.

Quote: "the following values are used to indicate rigid body type:
1, static box
2, dynamic box
3, static sphere
4, dynamic sphere
5, static capsule
6, dynamic capsule
7, static mesh
8, static terrain "


however if you run the following code you will find that it comes out different, first number is what it should be the second what is returned.



ps. Now would it be a good idea to report what you think could be an error in PhysX to make something like this with the [PhysX] it the title plus some code to show the point and description what you thought should have happened.

If MOD disagree with this then delete or rename title.

Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2024-11-24 14:28:33
Your offset time is: 2024-11-24 14:28:33