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] Cloth not tearing in provided example

Author
Message
Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 12th May 2012 23:37 Edited at: 12th May 2012 23:43
@Resourceful - From another thread.

I just tried the example and the cloth tears fine for me

Try placing the attached file in your media folder, this is cooked with the tearing flag set. Make sure you remove the following command:



..and load the mesh I have provided(attached).

There is a chance it is not cooking properly on your machine, it says in the PhysX docs that cooking can vary from computer to computer which is why it is recommended to pre-cook all meshes to file for any serious projects.

Attachments

Login to view attachments
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 13th May 2012 03:27
Hi Matty H...

It might help others if you linked to an explanation of "Cooked"

Thanks...

Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 13th May 2012 12:47
No problem, I'll explain it.

'cooked' is just a fancy way of saying 'saved', PhysX does a few optimisations(for fast collision checks etc) to the mesh behind the scenes to I guess that's why they say 'cooked'.

There is more information on meshes in the Help.chm file.

Login to post a reply

Server time is: 2024-11-24 13:58:14
Your offset time is: 2024-11-24 13:58:14