Beware of llGetObjectDetails() is my les …
January 17, 2009
Beware of llGetObjectDetails() is my lesson for this week. I ripped it all out of MoPose 5.0 after getting all excited about using that over corrections to buggy sit target values. Turns out you cannot get a reliable capture of the avatars position when it sits–especially if the object being sat upon is moving, as this script also concedes even though it uses other detection methods.
I did leave this function in AnimAdjustmentFinder, which I am still fleshing out and will add a HUD to rather than typed commands soon. This has made getting extremely accurate animations adjustments very easy for items with multiple animations, the bane of multipose animation in general because no two animations start in the same place.
Besides, I don’t think OpenSim yet supports llGetObjectDetails() so this renders MoPose 5.0 much more OpenSim compatible.