Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008352opensim[REGION] Script Functionspublic2018-08-06 23:472018-08-16 09:56
Reporterdjphil 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformPCOSWindowsOS Version10
Product Version 
Target VersionFixed in Version 
Summary0008352: STATUS_ROTATE_X and STATUS_ROTATE_Y broken
DescriptionI added llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y, FALSE; in a follower script and this blocked the follower after compiling the script. If I go to the prim and I collide then the follower is unblocked and can then move. I went on SL to test the same script and there it worked very well. I think something is broken in opensim with STATUS_ROTATE_X and STATUS_ROTATE_Y and that with BulletSim AND ubODE.
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineubODE
Environment.NET / Windows64
Mono VersionNone
ViewerFirestorm
Attached Files

- Relationships

-  Notes
(0032854)
Luisillo_Contepomi (reporter)
2018-08-12 02:22

Please add a script for test it.
(0032856)
Luisillo_Contepomi (reporter)
2018-08-12 02:42

I Have not this problem on ubODE over 0.9.0.1 win7-64

For test I build a cube or a pyramid and paint a face with a color for see movement and use this follower script.

default
{
    state_entry()
    {
        vector pos = llGetPos();

        llSetStatus(STATUS_ROTATE_Z, FALSE);
        llSetStatus(STATUS_ROTATE_Y, FALSE);
        llSetStatus(STATUS_ROTATE_X, FALSE);
        llSetStatus(STATUS_PHYSICS, TRUE);
        llSleep(0.1);
        llMoveToTarget(pos,0.1);
        key id = llGetOwner();
        llSensorRepeat("","",AGENT,200000,7000*PI,.4);
    }

    sensor(integer total_number)
    {
        vector pos = llDetectedPos(0);
        vector offset =<-1,0,1>;
        pos+=offset;
        llMoveToTarget(pos,.3);
         llSetRot(<0,0,0,0>);
    }
}

When you are moving by the region, the prims follow you and then you can see the prim movements. Try setting to TRUE one by one for see if have some fail.
I have not observe fails.
(0032859)
djphil (reporter)
2018-08-14 05:47

The script tested with is: https://forums.osgrid.org/viewtopic.php?p=27869#p27869 [^]
Just add: llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y, FALSE);
below: llSetStatus(STATUS_RETURN_AT_EDGE | STATUS_PHYSICS, TRUE);
(0032863)
Luisillo_Contepomi (reporter)
2018-08-16 09:56

tested with my script. Setting X Y or Z to true for see if is working. No problems all work well in 0.9.0.1 for all axes

- Issue History
Date Modified Username Field Change
2018-08-06 23:47 djphil New Issue
2018-08-06 23:47 djphil Summary STATUS_ROTATE_X and STATUS_ROTATE_Y broken ? => STATUS_ROTATE_X and STATUS_ROTATE_Y broken
2018-08-12 02:22 Luisillo_Contepomi Note Added: 0032854
2018-08-12 02:42 Luisillo_Contepomi Note Added: 0032856
2018-08-14 05:47 djphil Note Added: 0032859
2018-08-16 09:56 Luisillo_Contepomi Note Added: 0032863


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker