mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 04:20:29 +00:00
Merge branch 'hey-i-cant-crouch' into 'master'
FIX: Actually set the transform so first person camera works again See merge request OpenMW/openmw!4232
This commit is contained in:
commit
6b3c47a30d
@ -52,6 +52,7 @@ namespace MWRender
|
||||
|
||||
osg::Quat orient = worldOrient * mRotate * worldOrientInverse * matrix.getRotate();
|
||||
matrix.setRotate(orient);
|
||||
matrix.setTrans(matrix.getTrans() + worldOrientInverse * mOffset);
|
||||
|
||||
matrix *= osg::Matrix::scale(worldScale);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user