This repository has been archived by the owner on Mar 28, 2024. It is now read-only.
[BUG-225792] llSetTextureAnim freezes and displays incorrectly at moments while during movement; llMoveToTarget() or llSetKeyFramedMotion(). #4504
Labels
What just happened?
Created a Mesh object to animate using llSetTextureAnim ( ANIM_ON | LOOP, ALL_SIDES, 2, 2, 0.0, 4.0, 5.0 ); with 4 frames to simulate a 'jumping' action. When object is stationary, TextureAnimation runs fine and no issues occur.
When adding a script to make object wander about, there are instances when the TextureAnimation freezes up as it moves from Point A to Point B and is displayed incorrectly (not any of the four frame cells). More specifically, the same appearance as having a non-animated texture with Horizontal scale: 0.25, Vertical scale: 0.25, Horizontal Offset: 0.375, Vertical Offset: 0.375.
Note: I'm using Firestorm 5.0.11 (53634) but issue occurs on SL viewer as well (refer to below for SL viewer details)
Methods of movement tried
llMoveToTarget
llSetKeyFramedMotion
Both result in the same issue occurring
What were you expecting to happen instead?
The object to animate smoothly (simulating a jumping motion, up and down) and being able to move forward with llLookAt() to simulate the illusion of jumping forward.
Issue Reproduction
1. Rez a cube
2. Insert the script below.
[Note: I used a timer () in this recreation but using a at_target will replicate it as well] [Any texture can be used]
3. Set Object to be Physical and Phantom (optional)
4. There will be moments where the Texture animations just freezes up and the texture is displayed incorrectly (unlike any of the four cells)
[More specifically, the same appearance as having a non-animated texture with Horizontal scale: 0.25, Vertical scale: 0.25, Horizontal Offset: 0.375, Vertical Offset: 0.375.]
Additonal Details
The issue seem to occur although at random, but if you have various number of the objects (at varying TextureAnimation speeds even), the TextureAnimation freezing occurs at the same time (visually) as long as said objects are in motion. The TextureAnimation also resumes at the same time.
Issue Reproduction (Multiple Cubes)
1. Rez multiple cubes [I used three]
2. Insert the same script above and change the values of the TextureAnimation speed
[Note: I used a timer () in this recreation but using a at_target will replicate it as well] [Any texture can be used]
3. Set Object to be Physical and Phantom (optional)
4. There will be moments where the Texture animations just freezes up and the texture is displayed incorrectly (unlike any of the four cells) for all cubes at (almost) the same time as long as said objects are in motion.**
[More specifically, the same appearance as having a non-animated texture with Horizontal scale: 0.25, Vertical scale: 0.25, Horizontal Offset: 0.375, Vertical Offset: 0.375.]
Links
Related
Original Jira Fields
The text was updated successfully, but these errors were encountered: