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
pull/3236/head
Dave Corley 6 months ago
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…
Cancel
Save