Softbody Rope under Tension

PaladaEX
Posts: 2
Joined: Fri May 29, 2009 12:11 pm
Location: São Paulo - Brazil

Softbody Rope under Tension

Post by PaladaEX »

Hi,

I want to create a rope under tension, keeping it straight even under effect of gravity.

In a first experience i used a chain of rigidbodies connected by Point to Point Constraint. To keep the bodies straight I cancel the gravity in each rigidbody using "->setGravity(btVector3(0,0,0));". With this i didn´t get the physics response that i wanted.

After seeing the softbodies demos I started to create the rope with "btSoftBodyHelpers::CreateRope". But when I try to keep the body straight using psb->addForce(btVector3(0,+g,0)); i don´t see any result.

Is there anyway of doing this? Am i missing something?