Set particle radius to thickness
This commit is contained in:
parent
f9e8d9394b
commit
9d935ea17f
@ -173,6 +173,7 @@ b3Cloth::b3Cloth(const b3ClothDef& def) :
|
||||
pd.type = e_dynamicParticle;
|
||||
pd.mass = 1.0f;
|
||||
pd.position = m->vertices[i];
|
||||
pd.radius = def.thickness;
|
||||
|
||||
b3Particle* p = CreateParticle(pd);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user