-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Featurettes] Regression in anti-flipping mechanism for mouselook camera #1611
Comments
Fixed in #1740 |
Failed QA. On Mac:
On Windows: Vertical Sim: Test deferred. Currently, there is no available tank on the location that can be used for the ride. Could you please specify the exact location for testing? Kart 1.0: Test failed. After rezzing and sitting in a vehicle with a tilted sit target (e.g., Kart 1.0 from the Library), the camera flips when looking upwards in Mouse Look mode. Sitting on a Cube: Test failed. When sitting on a cube with a rotated sit target (e.g., <0,315,0>), the camera flips when looking upwards. Verified on the Second Life Release 7.1.12.12258017789 (64bit) on Win10/OSX in the scope of https://github.com/secondlife/iqa/issues/414. |
Environment
Second Life Release 7.1.8.9103842320 (64bit) - Materials Featurettes
Description
The code related to up/down camera limits were changed which causes a regression and causes a error where the user can end up flipping their camera upside down and also causes issues with the limits being applied at the wrong place.
Here is an unlisted video recording reproducing the issue: https://www.youtube.com/watch?v=ObZnP_t8PpM
My tank is a linden vehicle of type car with flags (VEHICLE_FLAG_LIMIT_MOTOR_UP|VEHICLE_FLAG_NO_DEFLECTION_UP that allows for tilting the camera relative to the vehicle.
This issue would affect any vehicle where the camera is fixed to roll relative to the vehicle. It is just significantly noticeable and a massive issue for my project which I've been working on for about 15 years.
I was also able to replicate the issue more severely in Kart 1.0 from the Library inventory where it doesn't clamp the look up at all. EDIT: I think this is because the sit target is a bit tilted rather than at ZERO_ROTATION; In current viewers it would have the max limit tilted with respect to the sit target, but in featurettes you can end up flipping your camera instead.
The relevant commit might be f815b01 after going through previous revisions and trying to find any changes to the camera clamping behaviour. Recommend reverting changes by this commit to llagent.cpp or fixing it carefully, the logic may seem simple but it is more complex.
Reproduction steps
All with the 7.1.8.9103842320 materials featurettes viewer, or alternatively the firestorm alpha/beta viewer.
Alternatively
Vehicles that have a rotated sit target:
Any sit target with an object that is rotated:
The text was updated successfully, but these errors were encountered: