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

@@ -1399,6 +1399,11 @@ namespace Nuake {
void EditorInterface::Update(float ts)
{
if (!Engine::GetCurrentScene())
{
return;
}
auto& editorCam = Engine::GetCurrentScene()->m_EditorCamera;
editorCam->Update(ts, m_IsHoveringViewport);