Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003467 [opensim] [REGION] Script Functions minor always 2009-04-15 15:23 2009-05-31 16:58
Reporter Snoopy View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0003467: sensor - llDetectedRot returns wrong rotation values for detected link sets with rotated prims
Description When a sensor detects a link set containing rotated prims llDetectedRot returns wrong rotation values. See "additional information" for how to reproduce it.
Additional Information How to reproduce this bug:

- rez a box and name it "root"
- rotate that box manually on the Y axis by 90 degrees using the edit window
- duplicate that box with shift drag and name the new box "child"
- move the "child" box next to the "root" box so that the "root" box is in the West and the "child" box in the East next to each other
- first click the "child" and then the "root" box and link them to create a link set
- now put the following script in the resulting link set with the name "root":
default
{
    touch_start(integer total_number)
    {
        llOwnerSay((string)llGetRot());
    }
}
- create an additional prim next to this link set and put the following link set in it:
default
{
    touch_start(integer total_number)
    {
        llSensor("root", NULL_KEY, ACTIVE | PASSIVE | SCRIPTED, 5, PI);
    }

    sensor(integer total_number)
    {
        llOwnerSay((string)llDetectedRot(0));
    }
}
- click the "root" link set and you will get the following info about the "root" link set:
root: <0.000000,0.707107,0.000000,0.707107>
- click the additional prim you have rezzed and you will get this info about the "root" link set:
primitive: <0.000000,1.000001,0.00000,0.00000>

The rotation values are different!

p.s. I use Ubuntu 8.04 32 bit with Mono 2.5.
Tags No tags attached.
Git Revision
SVN Revision 8963
Run Mode Grid (1 Region per Sim)
Physics Engine ODE
Environment Mono / Linux32
Mono Version Other
Attached Files

- Relationships
related to 0003463new linkset with new Rootprim lets turn childprims after new linking an turn if the new rootprim 

-  Notes
(0010743)
Snoopy (reporter)
2009-04-15 15:31

0003463 is another bug related to rotations of prims in link sets, but it looks like that this is an independent bug. Probably caused by wrong updates of rotation and position values of child prims when the root prim of a link set is rotated.
(0010761)
Snoopy (reporter)
2009-04-16 01:55
edited on: 2009-04-16 01:56

I have checked it in SL and there the reported rotation values are the same:
root: <0.000000,0.707107,0.000000,0.707107>
Object: <0.000000,0.707107,0.000000,0.707107>
So it's definitively an Opensim bug.

(0010805)
svn (developer)
2009-04-17 12:39

idb committed related code in r9196

Correct detected rotation to return the same value as llGetRot in the object being detected.
Fixes Mantis 0003467

see more at - http://opensimulator.org/cgi-bin/viewvc.cgi?view=rev&revision=9196 [^]

- Issue History
Date Modified Username Field Change
2009-04-15 15:23 Snoopy New Issue
2009-04-15 15:23 Snoopy SVN Revision => 8963
2009-04-15 15:23 Snoopy Run Mode => Grid (1 Region per Sim)
2009-04-15 15:23 Snoopy Physics Engine => ODE
2009-04-15 15:23 Snoopy Environment => Mono / Linux32
2009-04-15 15:23 Snoopy Mono Version => Other
2009-04-15 15:29 RemedyTomm Summary sensor: llDetectedRot returns wrong rotation values for detected link sets with rotated prims => sensor - llDetectedRot returns wrong rotation values for detected link sets with rotated prims
2009-04-15 15:31 Snoopy Note Added: 0010743
2009-04-16 01:55 Snoopy Note Added: 0010761
2009-04-16 01:56 Snoopy Note Edited: 0010761
2009-04-16 13:59 Snoopy Relationship added related to 0003463
2009-04-17 12:39 svn Checkin
2009-04-17 12:39 svn Note Added: 0010805
2009-04-17 12:39 svn Status new => resolved
2009-04-17 12:39 svn Resolution open => fixed
2009-05-31 16:58 chi11ken Status resolved => closed


Mantis 1.1.1[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker