[0.9] Soft Bodies

netsurferj

21-07-2008 19:18:13

Hi

I could not find any post stating how a soft body is created. I created one using:
NxOgre::SoftBody * sb = mScene->createSoftBody("froggy; froggyNormalized",Vector3(1000,35,2750),sfp);
sb->render(1200);
sb->simulate(1200);
. I have no idea what to use as the "TetAndMeshFilePrefix". When I create the body nothing happens, but when I call render and simulate I get linking errors? I could not find any lib files that seems to be relating to soft bodies?

Does anyone know how to use soft bodies in 0.9?

betajaen

21-07-2008 20:03:47

You need a converted PhysX tetrahedra file to use. Personally, I wouldn't bother - the soft body code in NxOgre is less than stellar. I'm pretty sure it doesn't even work.

netsurferj

21-07-2008 20:42:32

Thanx for the heads up. I'll look into ragdolls instead.