Correct orientation. Need to clean this up.
This commit is contained in:
@@ -35,6 +35,7 @@ void SoundSystem::Update()
|
||||
EntityID listener = (*it).EntityID;
|
||||
auto transform = m_World->GetComponent(listener, "Transform");
|
||||
setListenerPos(transform["Position"]);
|
||||
setListenerOri(transform["Orientation"]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user