Fixed order of rotation

Former-commit-id: 1b7b714192fdd4a4ad54fbd6e79f4570b0f584e0
This commit is contained in:
Lynix 2013-08-23 22:04:18 +02:00
parent 57df82a82f
commit 3bca9803ca
1 changed files with 1 additions and 1 deletions

View File

@ -682,7 +682,7 @@ void NzNode::UpdateDerived() const
if (m_inheritRotation)
{
m_derivedRotation = m_initialRotation * m_parent->m_derivedRotation * m_rotation;
m_derivedRotation = m_parent->m_derivedRotation * m_initialRotation * m_rotation;
m_derivedRotation.Normalize();
}
else