Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008420opensim[REGION] Physics Enginespublic2018-12-10 05:092018-12-11 09:25
Reporterbrenner23 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusnewResolutionopen 
PlatformOSOS Version
Product Version0.9.0.1 
Target VersionFixed in Version 
Summary0008420: Physiks Flying Follow Objetcs
DescriptionI have a Script here it was working on Older version from Opensim
its a Follow Prim Script... ( Physics), bur its alwas rotating but no Follow
*Someone told me i have to change some on true but than its folling bur rotate in all directions and not only on X or Y axis
Steps To ReproduceHere is the Script

default
{
    state_entry()
    {
        vector pos = llGetPos();
        llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y, FALSE);
        llSetStatus(STATUS_PHYSICS, TRUE);
        llSleep(0.1);
        llMoveToTarget(pos,0.1);
        key id = llGetOwner();
        llSensorRepeat("",id,AGENT,20,2*PI,.4);
        llOwnerSay(" i will Follow you ...");
    }
     on_rez(integer bla)
    {
        vector pos = llGetPos();
        llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y, FALSE);
        llSetStatus(STATUS_PHYSICS, TRUE);
        llSleep(0.1);
        llMoveToTarget(pos,0.1);
        key id = llGetOwner();
        llSensorRepeat("",id,AGENT,20,2*PI,.4);
        llOwnerSay(" i will Follow you ...");
    }

    sensor(integer total_number)
    {
        vector pos = llDetectedPos(0);
        vector offset =<-1,1,1.0>;
        pos+=offset;
        llMoveToTarget(pos,.5);
    }
}
Additional Information*Someone told me i have to change some on true but than its folling bur rotate in all directions and not only on X or Y axis

llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y, FALSE);
No FLy only rotating

llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y, TRUE);
Fly but rotating all direction

TagsNo tags attached.
Git Revision or version numberLatests and befor 8.2.xx
Run ModeStandalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
Physics EngineBulletSim
EnvironmentMono / Linux64
Mono Version5.x
ViewerFirestorm, Singularity...
Attached Files

- Relationships

-  Notes
(0033609)
UbitUmarov (administrator)
2018-12-11 09:25

made a change on master repo
this script will now do something on ubOde

- Issue History
Date Modified Username Field Change
2018-12-10 05:09 brenner23 New Issue
2018-12-11 09:25 UbitUmarov Note Added: 0033609


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker