Re: Bug #4241
Posted: 12 Dec 2017, 13:41
Hi guys,
After some coding, I'm a bit confused what can be done next to fix this bug?
What we have now in PR:
* camera position depends on head x,y-coordinates, z-coordinate depends on RootNode (committed as workaround basically). Unfortunately, this changes camera view
* head targeting is disabled in FP. It seems OK, but after changing to 3rd Person player's head starts to rotate from camera view (forward). Maybe it seems logical (as in FP you control what you see and in 3rd Person -- not) but this behavior differs from vanilla.
The main problem -- moving camera underwater is not really fixed and I don't know how to fix it. Because z-rotation of a camera is based on spine deformation instead of head rotation (the same in vanilla). But this, of course, allows you to see hands when you look up or down.
After some coding, I'm a bit confused what can be done next to fix this bug?
What we have now in PR:
* camera position depends on head x,y-coordinates, z-coordinate depends on RootNode (committed as workaround basically). Unfortunately, this changes camera view
* head targeting is disabled in FP. It seems OK, but after changing to 3rd Person player's head starts to rotate from camera view (forward). Maybe it seems logical (as in FP you control what you see and in 3rd Person -- not) but this behavior differs from vanilla.
The main problem -- moving camera underwater is not really fixed and I don't know how to fix it. Because z-rotation of a camera is based on spine deformation instead of head rotation (the same in vanilla). But this, of course, allows you to see hands when you look up or down.