Jump to content

physic Cloth of PhysX has been removed?


Recommended Posts

  • 2 weeks later...

Sorry for the delay on spotting this.


I'm fairly sure that cloth still works in current, but you do need to enable the PhysX module when compiling the engine in order to utilize the PhysX stuff(same with Bullet) as by default the built-in stock physics are the default. If you do that, then you should have access to the PhysicsCloth(PxCloth, I believe is the specific class) object to use.


If you haven't gotten the PhysX lib set up yet, then you can follow the wiki article here: http://wiki.torque3d.org/coder:physx-setup#toc1 If that's out of date at all, just let me know.

Link to post
Share on other sites

So, Timmy informed me that the cloth was part of the older PhysX lib implementation, and didn't make the hop to the current version and would need to be re-implemented. There's a few repos with various physics stuffs that implement stuff like ragdolls, GPU rigidbodies and the like, so I'll put that up on the list to get rolled back in there.

Link to post
Share on other sites

Yes you need the source code and to compile the library yaself. T3D only supports the 3.3.x versions, if you want to use physx 3.4 i have all the changes here https://github.com/rextimmy/Torque3D/tree/physx3_4 ... it's rather out of date as i don't actively work on T3D anymore but you should be able to copy the cmake file and also the physx3 directory and hopefully it just works for ya.

Link to post
Share on other sites
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...