Body offset is unaffected by scale in Pehkui
floral-qua-floral opened this issue ยท 10 comments
The model does resize properly, but the X offset doesn't change to reflect the model's different size. As a result, the offset becomes too small at large scales and too large at small scales.
Normally, with default configs, the player's body is mostly out of the way when looking down, but the majority of the front of the body is still visible:
At large scales, the offset is relatively smaller, and so the player's body fills much more of the screen when looking down:
At small scales, the offset is relatively larger, so the player's body is almost entirely out of frame:
I think if it would be ideal if the model's offset were multiplied by the pehkui:model_width
scale type, and for this calculation to be applied after the X Offset from the FirstPersonModel config.
The mod used to contain the function to scale the player, and there it was a part of it. So shouldn't be too bad to fix I hope? As a temporary fix you can fix the offset in the FirstPerson settings.
odd, like i said it used to work for me, not sure why. until i downloaded more mods lol
Any ideas how or when this might be fixed? can you fix it or is this up to pehkui
Wait im talking specifically about crouching where the body leans far forwards and i cant see down. standing is fine
I mean, Pehkui seems to break and overwrite my offset logic when the player sneaks, probably to correct for something when the player is scaled up/down. So one solution might be for Pehkui to see that this mod is installed and include my offset in that case(probably also scaled, so the body doesn't get flung way too far behind the camera when small).
Not sure if it is worth noting but I was able to use both mods together just fine up until a few days ago? I didnt have any issues but now the player body is really far forward when I crouch which I assume is a result of the vanilla crouching model taking priority?