Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008951opensim[REGION] Script Functionspublic2021-12-11 15:022021-12-11 18:09
Reporteranimats 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOperating SystemClientOperating System Version20.04 LTS
Product Version 
Target VersionFixed in Version 
Summary0008951: llSetKeyframedMotion behaves differently in SL and OS, for KFM_LOOP mode.
DescriptionThis statement behaves differently in SL and OS:

llSetKeyframedMotion([-motionDir, CYCLETIME],[KFM_DATA,KFM_TRANSLATION, KFM_MODE,KFM_LOOP]);

In Second Life, you get reciprocating motion. At the end of the "loop", the position jumps back to the starting point.

In Open Simulator, you get repeated forward motion.

I use this to make escalators and moving sidewalks work in Second Life. I was trying to port my escalators (the most popular escalator in SL) to OSGrid as a test. This trick is essential to how they work. The steps move slowly upwards one step, then instantaneously move back at the end of the loop. This creates the illusion of escalator steps moving.

It's rideable in Second Life. Friction moves the passenger forward, while the instantaneous jump does not transfer momentum. So it works like a real escalator.

It would be nice if SL and OS worked the same way, since this has practical uses. On the other hand, you could argue this is an SL bug. SL and OS documentation are silent on this.
Steps To ReproduceSet a prim in motion with the above line of code. Set motionDir and CYCLETIME to reasonable values.

Additional InformationSimulator info:

You are at 246.3, 227.4, 22.1 in OSCC Sandbox located at osgrid.ics.uci.edu
SLURL: hop://cc.opensimulator.org:8002/OSCC%20Sandbox/246/227/22 [^]
(global coordinates 1,832,180.0, 1,830,630.0, 22.1)
OpenSim 0.9.1.0 Snail Release (Unix/Mono)


TagsNo tags attached.
Git Revision or version number?
Run Mode Grid (1 Region per Sim)
Physics EngineBulletSim
Script EngineXEngine
EnvironmentMono / Linux64
Mono VersionNone
ViewerFirestorm 6.4.21
Attached Files

- Relationships

-  Notes
(0038287)
UbitUmarov (administrator)
2021-12-11 16:06

yes a old bug, in fact doing as sl did spec on the wiki back in 2013
To be fixed on a new revision

note that the friction may not push a avatar on opensim.

- Issue History
Date Modified Username Field Change
2021-12-11 15:02 animats New Issue
2021-12-11 16:06 UbitUmarov Note Added: 0038287


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker