Fixed Node::Move taking local scale into account
Former-commit-id: ce7b2c086e141c8cfa9981838c9d695f997b3941
This commit is contained in:
parent
3ed18e70da
commit
03b91575fb
|
|
@ -270,7 +270,7 @@ NzNode& NzNode::Move(const NzVector3f& movement, nzCoordSys coordSys)
|
|||
}
|
||||
|
||||
case nzCoordSys_Local:
|
||||
m_position += m_scale * (m_rotation * movement);
|
||||
m_position += m_rotation * movement;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue