softbody vertices can be pinned in editor now + added cloth test

This commit is contained in:
turanszkij
2018-10-20 20:27:59 +01:00
parent 7e627eb916
commit a8091cc895
12 changed files with 13431 additions and 90 deletions
-2
View File
@@ -267,8 +267,6 @@ void MeshWindow::SetEntity(Entity entity)
tessellationFactorSlider->SetValue(mesh->GetTessellationFactor());
softbodyCheckBox->SetEnabled(false);
massSlider->SetValue(0);
frictionSlider->SetValue(0);
SoftBodyPhysicsComponent* physicscomponent = wiRenderer::GetScene().softbodies.GetComponent(entity);
if (physicscomponent != nullptr)