Removed a large cloth radius. The particle radius should be used to avoid visual artifacts and is a small value in typical situations.
This commit is contained in:
parent
2f9abcbe92
commit
695514989e
@ -53,7 +53,7 @@ public:
|
|||||||
|
|
||||||
for (b3Particle* p = m_cloth->GetParticleList().m_head; p; p = p->GetNext())
|
for (b3Particle* p = m_cloth->GetParticleList().m_head; p; p = p->GetNext())
|
||||||
{
|
{
|
||||||
p->SetRadius(0.2f);
|
p->SetRadius(0.05f);
|
||||||
p->SetFriction(0.2f);
|
p->SetFriction(0.2f);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -67,7 +67,6 @@ public:
|
|||||||
|
|
||||||
b3HullShape tableShape;
|
b3HullShape tableShape;
|
||||||
tableShape.m_hull = &m_tableHull;
|
tableShape.m_hull = &m_tableHull;
|
||||||
tableShape.m_radius = 0.2f;
|
|
||||||
|
|
||||||
b3ShapeDef sd;
|
b3ShapeDef sd;
|
||||||
sd.shape = &tableShape;
|
sd.shape = &tableShape;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user