secondlife / jira-archive

2 stars 0 forks source link

[BUG-231989] Striding animation doesn't appear to play #9349

Closed sl-service-account closed 8 months ago

sl-service-account commented 2 years ago

What just happened?

Using llSetAnimationOverride, and trying to add an animation for 'striding' doesn't appear to do play anything, the striding animation doesn't appear to play to begin with.

What were you doing when it happened?

Testing/creating AOs and animations

What were you expecting to happen instead?

Striding animation to play when ontop of avatars or small prims.

Other information

Appears to be a problem with multiple users, we have no idea what triggers playing the striding animation

Links

Related

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-231989 | | Summary | Striding animation doesn't appear to play | | Type | Bug | | Priority | Unset | | Status | Closed | | Resolution | Cannot Reproduce | | Created at | 2022-03-31T21:58:02Z | | Updated at | 2022-04-25T17:06:26Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2022-04-01T13:21:21.888-0500', "Is there anything you'd like to add?": 'Appears to be a problem with multiple users, we have no idea what triggers playing the striding animation', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'System': 'SL Simulator', 'Target Viewer Version': 'viewer-development', 'What just happened?': "Using llSetAnimationOverride, and trying to add an animation for 'striding' doesn't appear to do play anything, the striding animation doesn't appear to play to begin with.", 'What were you doing when it happened?': 'Testing/creating AOs and animations', 'What were you expecting to happen instead?': 'Striding animation to play when ontop of avatars or small prims.', } ```
sl-service-account commented 2 years ago

Dan Linden commented at 2022-04-01T18:21:22Z

Hi OpenPony.

This viewer is not supported by Linden Lab. For support with third party viewers, please contact that viewer's developers. The official list of TPVs can be found here: http://wiki.secondlife.com/wiki/Third_Party_Viewer_Directory

If you can reproduce this problem on the official Second Life Viewer, please update this issue with information on the supported viewer version accordingly.

That said, there may be some other animation playing at a higher priority than the striding animation. Try removing all AOs and then playing the striding animation again. This tool may help you debug it - Enable the Develop menu in Preferences > Advanced. Tick Develop menu > Avatar > Animation Info.

Let us know how it goes. Dan

sl-service-account commented 2 years ago

JIRAUSER340982 commented at 2022-04-02T02:19:41Z, updated at 2022-04-05T04:12:35Z

Dan Linden,

 

I've tested with a fresh install of the standard SL viewer, and it appears that the striding animation plays for less than a few miliseconds when jumping/falling off a heavily slanted surface. Most reliably triggered by walking off a very steep wall (60+ degrees). It also repeats the animation multiple times. This applies to both the standard and Firestorm viewer.

I was able to figure this out through using the Animation Info menu, and then confirming with a script that only overwrote the striding animation with an animation that included bone translation to deform bones.

I am unsure if this is an accurate category for this problem.

Thank you for reading!

OpenPony

 

sl-service-account commented 2 years ago

JIRAUSER340982 commented at 2022-04-02T02:20:05Z

Second Life Release 6.5.3.568554 (64bit) Release Notes

You are at 70.9, 48.2, 23.8 in Neighberry located at simhost-0e63755f7d236bd77.agni SLURL: http://maps.secondlife.com/secondlife/Neighberry/71/48/24 (global coordinates 208,455.0, 296,752.0, 23.8) Second Life Server 2022-03-24.569934 Release Notes

CPU: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz (3312 MHz) Memory: 16321 MB OS Version: Microsoft Windows 10 64-bit (Build 19041.1415) Graphics Card Vendor: NVIDIA Corporation Graphics Card: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2

Windows Graphics Driver Version: 30.0.15.1179 OpenGL Version: 4.6.0 NVIDIA 511.79

Window size: 1920x1017 Font Size Adjustment: 96pt UI Scaling: 1 Draw distance: 128m Bandwidth: 3000kbit/s LOD factor: 1.125 Render quality: 5 Advanced Lighting Model: Enabled Texture memory: 512MB Disk cache: Max size 204.0 MB (99.9% used)

J2C Decoder Version: KDU v7.10.4 Audio Driver Version: FMOD Studio 2.02.03 Dullahan: 1.12.3.202111032221   CEF: 91.1.21+g9dd45fe+chromium-91.0.4472.114   Chromium: 91.0.4472.114 LibVLC Version: 3.0.16 Voice Server Version: Vivox 4.10.0000.32327

Packets Lost: 0/133,822 (0.0%) April 01 2022 19:19:58

sl-service-account commented 2 years ago

Kyle Linden commented at 2022-04-14T17:51:09Z

Hi OpenPony,

Since this reproduces on multiple viewer and is based on scripted animations, I'm going to move this to the Server bug report queue so they can help you further. One thing they are going to ask for is a copy of the script or a sample script to reproduce the striding effects ourselves. If that is an obstacle, it may be easiest to send a copy of the object to us in world or rez it out and provide a slurl to its location.

Thanks!

sl-service-account commented 2 years ago

JIRAUSER340982 commented at 2022-04-15T01:20:53Z, updated at 2022-04-15T01:21:07Z

Thank you for the reading,

 

The problem appears to happen without an AO or any script to overrwrite animations as well. The striding animation state can be triggered most reliably when walking off a heavily slanted triangular prism.

I can still provide an object and script/animation that replaces the striding animation with one that deforms bones. This could help show when it does triggers the animation state.

sl-service-account commented 2 years ago

Maestro Linden commented at 2022-04-15T18:00:02Z

Testing with Second Life Release 6.5.3.568554 (64bit) on Second Life Server 2022-04-01.570311, I was able to confirm that the Striding animation does in fact play, though as @openpony suggested, it appears as a very short transitory animation.

To observe this I did the following:

  1. Found a very easy to observe animation
    • I used an imported version of avatar_dead.bvh set to loop, with no transition time. It's obvious when the animation is playing because the avatar raises an arm and slumps while standing
  2. Placed the animation and this script in an object, then wore the object: ```Java default { attach(key id) { if ( id ) llRequestPermissions(id , PERMISSION_OVERRIDE_ANIMATIONS); else if ( llGetPermissions() & PERMISSION_OVERRIDE_ANIMATIONS ) llResetAnimationOverride("ALL"); } run_time_permissions(integer perms) { if ( perms & PERMISSION_OVERRIDE_ANIMATIONS ) { string anim = llGetInventoryName(INVENTORY_ANIMATION, 0); llOwnerSay("Striding animation set to '" + anim + "'"); llSetAnimationOverride( "Striding", anim); } } }
  3. As you said, when the agent stands on certain edges (like the top edge of a 3m cube rotated to <0,38,0> degrees), the Striding animation briefly plays, albeit briefly

    So while the striding animation doesn't play very often or for very long, it does in fact trigger.