Jolt physics (#867)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user