drag the soft body

SashkuS
Posts: 2
Joined: Tue Jul 31, 2012 12:56 pm

drag the soft body

Post by SashkuS »

Hello
I need drag the soft body pulling the vertex, but when I do something like this:
sbs [0] -> m_faces [1]. m_n [1] -> m_x = btVector3 (0,0,0)
or like this: sbs [0] -> m_nodes [0]. m_x = btVector3 (0,0,0)
the body is not moving to vertex, only the position of the vertices (and hence the original geometry of the soft body)

I analyzed the samples and there soft body drag to vertex turning to her almost also (sbs [0] -> m_faces [1]. m_n [1] -> m_x), what do I miss?
SashkuS
Posts: 2
Joined: Tue Jul 31, 2012 12:56 pm

Re: drag the soft body

Post by SashkuS »

after changing the position of vertex you must reset its velocity