Fixed order of rotation
Former-commit-id: 1b7b714192fdd4a4ad54fbd6e79f4570b0f584e0
This commit is contained in:
parent
57df82a82f
commit
3bca9803ca
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue