Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008352opensim[REGION] Script Functionspublic2018-08-06 23:472018-09-12 00:00
Reporterdjphil 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformPCOSWindowsOS Version10
Product Version 
Target VersionFixed in Version 
Summary0008352: [BULLETSIM] 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.
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
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
(0032903)
djphil (reporter)
2018-08-29 10:21

So I created a little video to show the problem @ https://youtu.be/f8uVhM-7pTM [^]

Script Object 1
default
{
    state_entry()
    {
        llSetText("ROTATE XY = TRUE", <1.0, 1.0, 1.0>, 1.0);
        llSetStatus( STATUS_DIE_AT_EDGE | STATUS_PHYSICS, TRUE);
        llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y, TRUE);
    }
}

Script Object 2
default
{
    state_entry()
    {
        llSetText("ROTATE XY = FALSE", <1.0, 1.0, 1.0>, 1.0);
        llSetStatus( STATUS_DIE_AT_EDGE | STATUS_PHYSICS, TRUE);
        llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y, FALSE);
    }
}

We agree, normally the 2 objects should fall, but there is only one that falls ...
(0032904)
watcher64 (reporter)
2018-08-29 16:54

Can't replicate ..

https://i.gyazo.com/0fda382cc1e63073c04fff944cbf386d.gif [^]
(0032905)
djphil (reporter)
2018-08-30 05:41

I would like to rectify something, the problem is with BulletSim only.

- 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
2018-08-29 10:21 djphil Note Added: 0032903
2018-08-29 16:54 watcher64 Note Added: 0032904
2018-08-30 05:40 djphil Description Updated View Revisions
2018-08-30 05:41 djphil Note Added: 0032905
2018-09-12 00:00 djphil Physics Engine ubODE => BulletSim
2018-09-12 00:00 djphil Summary STATUS_ROTATE_X and STATUS_ROTATE_Y broken => [BULLETSIM] STATUS_ROTATE_X and STATUS_ROTATE_Y broken


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker