Anonymous | Login | Signup for a new account 2020-01-28 15:02 PST
 Main | My View | View Issues | Change Log | Roadmap | Summary | My Account

View Issue Details  Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007496opensim[REGION] Physics Enginespublic2015-03-11 20:232015-03-11 20:23
ReporterTwitch
Assigned To
PriorityhighSeveritymajorReproducibilityalways
StatusnewResolutionopen
PlatformLinuxOSOpenSuseOS Version13.1
Product Versionmaster (dev code)
Target Versionmaster (dev code)Fixed in Version
Summary0007496: Setting any of STATUS_ROTATE_X/STATUS_ROTATE_Y/STATUS_ROTATE_Z to FALSE critically damps further object motion
DescriptionAs described in the summary. Motion is critically damped as well as rotation.
Steps To ReproduceUse this classic follower script in a prim as is:

default
{
state_entry()
{
vector pos = llGetPos();
llSetStatus(STATUS_ROTATE_X,TRUE);
llSetStatus(STATUS_ROTATE_Y,TRUE);
llSetStatus(STATUS_ROTATE_Z,TRUE);

//llSetStatus(STATUS_ROTATE_Z,TRUE);
llSetStatus(STATUS_PHYSICS, TRUE);
// Little pause to allow server to make potentially large linked object physical.
llSleep(0.1);
llMoveToTarget(pos,0.4);
// Look for owner within 20 meters in 360 degree arc every 1 seconds.
llSensorRepeat("", llGetOwner(), AGENT, 20.0, PI,1.0);
}
sensor(integer total_number)
{
// Get position of detected owner
vector pos = llDetectedPos(0);
// Offset back one meter in X and up one meter in Z based on world coordinates.
vector offset =<-1,0,1>;
// offset = offset*llDetectedRot(0); //Adding this line will orient the follower relative to the owner's position.
pos+=offset;
llMoveToTarget(pos,0.4);
}
}

Watch it follow you around. Now change any of the lines containing an llSetStatus call for any of the calls affecting rotation status to FALSE.

Watch the classic follower fail to follow, classically or otherwise.

TagsNo tags attached.
Git Revision or version number
Run Mode Grid (1 Region per Sim)
Physics EngineBulletSim
Script Engine
EnvironmentMono / Linux64
Mono VersionOther
ViewerReplex 64 bit
Attached Files

 Relationships

 Notes There are no notes attached to this issue.

 Issue History Date Modified Username Field Change 2015-03-11 20:23 Twitch New Issue