Fixed order of rotation
Former-commit-id: 1b7b714192fdd4a4ad54fbd6e79f4570b0f584e0
This commit is contained in:
@@ -682,7 +682,7 @@ void NzNode::UpdateDerived() const
|
|||||||
|
|
||||||
if (m_inheritRotation)
|
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();
|
m_derivedRotation.Normalize();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user