added swing-twist constraint and constraint debug size control
This commit is contained in:
@@ -33,6 +33,7 @@ void GeneralWindow::Create(EditorComponent* _editor)
|
||||
physicsDebugCheckBox.OnClick([=](wi::gui::EventArgs args) {
|
||||
wi::physics::SetDebugDrawEnabled(args.bValue);
|
||||
editor->componentsWnd.rigidWnd.physicsDebugCheckBox.SetCheck(args.bValue);
|
||||
editor->componentsWnd.constraintWnd.physicsDebugCheckBox.SetCheck(args.bValue);
|
||||
});
|
||||
physicsDebugCheckBox.SetCheck(wi::physics::IsDebugDrawEnabled());
|
||||
AddWidget(&physicsDebugCheckBox);
|
||||
|
||||
Reference in New Issue
Block a user