To pin vertices in softbody, assign zero to m_invMass. To control the pinned vertices, set a velocity to m_vel.