• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-775
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Andrew Linden
Reporter: Jillian Callahan
Votes: 2
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

VEHICLE_REFERENCE_FRAME broken on preview

Created: 05/Oct/07 04:35 PM   Updated: 21/Dec/07 12:06 PM
Return to search
Component/s: Physics, Scripts
Affects Version/s: Havok4 Beta
Fix Version/s: Havok4 Beta

Environment:
Ubuntu Feisty 7.4
Pentium D 2.8Ghz
2Gb RAM
Issue Links:
Relates

Linden Lab Issue ID: DEV-1775


 Description  « Hide
VEHICLE_REFERENCE_FRAME appears to now be global rather than relative to the vehicle, which is to say if the reference frame "tilts" the vehicle backwards when the vehicle is level and facing east, it tilts the vehicle forward when it's level and facing west.

The repro is very easy, simply set the reference from to anything non-zero and turn the vehicle with an angular motor. This is likely a known bug, but I can't find anything on the jira.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Jillian Callahan made changes - 05/Oct/07 04:40 PM
Field Original Value New Value
Link This issue Relates to SVC-722 [ SVC-722 ]
Jillian Callahan made changes - 05/Oct/07 04:41 PM
Link This issue Relates to SVC-736 [ SVC-736 ]
Jillian Callahan made changes - 05/Oct/07 04:41 PM
Link This issue Relates to SVC-766 [ SVC-766 ]
lindenrobot made changes - 15/Oct/07 10:03 AM
Linden Lab Issue ID DEV-1775
Sidewinder Linden made changes - 15/Oct/07 02:47 PM
Affects Version/s Havok4 Beta [ 10171 ]
Affects Version/s 1.18.3 [ 10150 ]
Francis Chung made changes - 15/Oct/07 10:40 PM
Link This issue is related to by SVC-832 [ SVC-832 ]
Andrew Linden made changes - 19/Oct/07 09:09 AM
Assignee Andrew Linden [ Andrew Linden ]
Andrew Linden added a comment - 19/Oct/07 09:19 AM
Yes, there were some new parts of the vehicle code (for making Havok4 ground vehicles behave more like Havok1 ground vehicles) that was not using the VEHICLE_REFERENCE_FRAME feature at all yet – they now do.

Also, there was a bug where some old Havok::Quaternion math was converted to use LLQuaternions, but the developer who did it did not know that the LL quaternions operate from the other direction. That is hkQ_AC = hkQ_BC * hkQ_AB but LLQ_AC = LLQ_AB * LLQ_BC, so a quaternion transformation was in the wrong order.

Finally, I discovered that the VEHICLE_ANGULAR_FRICTION feature has never been using the VEHICLE_REFERECE_FRAME properly Most vehicles don't use this feature very much, and the problem would only show up well if the eigen values of the vehicle's inertia tensor were very divergent – which is probably why no one ever complained; the percentage of vehcles affected by this problem is probably a tiny fraction of 1%.


Andrew Linden made changes - 19/Oct/07 09:19 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed Internally [ 7 ]
Fix Version/s Havok4 Beta [ 10171 ]
Torley Linden made changes - 21/Dec/07 12:06 PM
Resolution Fixed Internally [ 7 ]
Status Resolved [ 5 ] Reopened [ 4 ]
Torley Linden added a comment - 21/Dec/07 12:06 PM
========-
Changed status to "Fixed" – I'm going through the Issue Tracker and updating issues that've been publicly fixed!
========-

Torley Linden made changes - 21/Dec/07 12:06 PM
Status Reopened [ 4 ] Closed [ 6 ]
Resolution Fixed [ 1 ]
Rob Linden made changes - 22/Dec/07 01:52 AM
Workflow jira [ 15752 ] jira-2007-12-21 [ 23482 ]
Rob Linden made changes - 23/Dec/07 12:34 AM
Workflow jira-2007-12-21 [ 23482 ] jira-2007-12-22a [ 49399 ]
Sue Linden made changes - 13/Nov/08 12:12 PM
Workflow jira-2007-12-22a [ 49399 ] jira-2008-11-14 [ 82920 ]
Sue Linden made changes - 13/Nov/08 04:52 PM
Workflow jira-2008-11-14 [ 82920 ] jira-2008-11-14a [ 94089 ]