getting positional info of soft body nodes

paperbender
Posts: 4
Joined: Tue Dec 22, 2009 11:34 pm

getting positional info of soft body nodes

Post by paperbender »

Hi,

Does anyone know how I can get the positional info of the nodes in a cloth created with btSoftBodyHelpers::CreatePatch? I want something similar to MotionStates I guess, but I don't know what to use.

Thanks
paperbender
Posts: 4
Joined: Tue Dec 22, 2009 11:34 pm

Re: getting positional info of soft body nodes

Post by paperbender »

aah, I think I can get it directly with just node->m_x

Let me know if there's another "more correct" way to do it