Soft Shapes

G4rth

15-03-2007 11:12:58

Hey

Why is there no source for the softShape class in RC3?

The class definition is there but no source. All other shapes are there though.

betajaen

15-03-2007 11:55:06

It wasn't implemented then. It is half-implemented in the 0.6 SVN, but I've been unable to get the Ogre Mesh working properly. I was hoping someone might pick it up for me.

Grom

15-03-2007 13:24:54

when I remove the #if 0 stuff from the nxOgre_shape_soft files, I get the error "error C2039: 'SHAPE_SOFT' : is not a member of 'nxOgre::shape'"

I've searched all through the code but can't discern where these shape definitions reside.

betajaen

15-03-2007 13:28:29

They don't exist anymore, there was a massive gutting out of the shape system, which involved rewriting nearly all of the shape code.

It seems I didn't rewrite the soft body code for it, so it turns out there isn't a soft shape for the 0.6 SVN after all.

G4rth

15-03-2007 13:47:59

It wasn't implemented then. It is half-implemented in the 0.6 SVN, but I've been unable to get the Ogre Mesh working properly. I was hoping someone might pick it up for me.

Mind if I give it a shot?

Grom

15-03-2007 13:48:52

i'll help with it soft bodies are cool

betajaen

15-03-2007 13:50:33

Yes please. The code is there, it is just not ported over to the new shape system.

It's a "dynamic" shape, which allows "simulate" and "render" functions on the shape. The wheelShape shows you how to do this.

G4rth

15-03-2007 14:10:34

K, thanks.

G4rth

16-03-2007 10:33:11

Am I missing something here? I've been reading different posts about cloth etc, but soft shapes aren't implemented. Is cloth not considered a soft shape?

betajaen

16-03-2007 10:48:42

Not anymore.

In PhysX 2.6.0, cloth and soft shapes used the same class but now they are seperate.