Jolt physics (#867)

This commit is contained in:
Turánszki János
2024-06-23 17:56:47 +02:00
committed by GitHub
parent 1e3c51e9b9
commit c18625c99c
812 changed files with 99430 additions and 109133 deletions
-2
View File
@@ -57,7 +57,6 @@ void SoftBodyWindow::Create(EditorComponent* _editor)
SoftBodyPhysicsComponent* physicscomponent = editor->GetCurrentScene().softbodies.GetComponent(entity);
if (physicscomponent != nullptr)
{
physicscomponent->physicsobject = {};
physicscomponent->friction = args.fValue;
}
});
@@ -71,7 +70,6 @@ void SoftBodyWindow::Create(EditorComponent* _editor)
SoftBodyPhysicsComponent* physicscomponent = editor->GetCurrentScene().softbodies.GetComponent(entity);
if (physicscomponent != nullptr)
{
physicscomponent->physicsobject = {};
physicscomponent->restitution = args.fValue;
}
});