|Anonymous | Login | Signup for a new account||2020-01-19 02:44 PST|
|Main | My View | View Issues | Change Log | Roadmap | Summary | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006689||opensim||[REGION] OpenSim Core||public||2013-06-26 03:47||2014-03-26 06:59|
|Product Version||master (dev code)|
|Target Version||Fixed in Version|
|Summary||0006689: KeyframedMotion: KFM_TRANSLATION does not the job|
|Description||In a lsl script, a command like:|
llSetKeyframedMotion(lFrames, [KFM_DATA, KFM_TRANSLATION | KFM_ROTATION, KFM_MODE, KFM_FORWARD]);
or with only the translation:
llSetKeyframedMotion(lFrames, [KFM_DATA, KFM_TRANSLATION, KFM_MODE, KFM_FORWARD]);
the rotation wascorrectly executed but the tranlation did nothing.
|Steps To Reproduce||All scripts that use the function llSetKeyframedMotion with KFM_TRANSLATION as KFM_DATA|
|Additional Information||Tested with Dev Master opensim 22948 f78d2ef 240613|
Ln 495 in private void GetNextList()
k.Position = (k.Position * direction);
where k.Position is a vector3 and direction an int
Note: a vector3 cannot be multiplied by an int; the result is 0 or epsilon.
Solution: direction must be casted in float
k.Position = (k.Position * (float)direction);
|Tags||No tags attached.|
|Git Revision or version number||opensim 22948 f78d2ef 240613|
|Run Mode||Standalone (Multiple Regions)|
|Environment||.NET / Windows32|
Had a weird run-in with this lately. Had some keyframed motion that was working fine on our group's main test servers, and an amazon server, but didn't work on a remote server, all running 0.7.6 on Windows. I then found on my local (WinXP) machine that it worked on the Diva install I used for testing but it didn't work on a basic 0.7.6 install. I was able to narrow it down to being fixable by copying over the OpenSim.Region.Framework.dll file from the Diva version.
Not sure yet why it was otherwise able to work fine on numerous other systems though, haven't pinned down a real difference between the ones where it works and where it doesn't.
|2013-06-26 03:47||Garmin Kawaguichi||New Issue|
|2014-03-26 06:59||Scooter||Note Added: 0025589|
|Copyright © 2000 - 2012 MantisBT Group|