Added panel for box collider and created first rigidbody

This commit is contained in:
Antoine Pilote
2023-03-07 21:40:33 -05:00
parent 6cbad0e13b
commit 65df50e722
13 changed files with 97 additions and 33 deletions

View File

@@ -15,6 +15,7 @@ EditorSelectionPanel::EditorSelectionPanel()
mQuakeMapPanel = QuakeMapPanel();
mCameraPanel = CameraPanel();
mRigidbodyPanel = RigidbodyPanel();
mBoxColliderPanel = BoxColliderPanel();
}
void EditorSelectionPanel::ResolveFile(Ref<Nuake::File> file)
@@ -98,6 +99,7 @@ void EditorSelectionPanel::DrawEntity(Nuake::Entity entity)
mQuakeMapPanel.Draw(entity);
mCameraPanel.Draw(entity);
mRigidbodyPanel.Draw(entity);
mBoxColliderPanel.Draw(entity);
/*
if (Selection.Entity.HasComponent<MeshComponent>())