Page MenuHomeFeedback Tracker

When using "animate" scripting command with "instant" only the visual LOD is animated
New, WishlistPublic

Description

When using the animate command (https://community.bistudio.com/wiki/animate) with the third parameter, "instant", set to true, only the visual LODs of the model will update. LODs like Geometry and Fire Geometry will not animate from the previous position and the player will be unable to move or fire through the door. {F27064}

Details

Legacy ID
2369036664
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Download and play the repro mission attached in the editor.

Additional Information

Note that I did not manage to reproduce this by running the script command through the debug console, I'm not sure if the paused game state somehow makes this issue not occur.

The following cases that I tested, result in the behavior described above.

  1. Running the code via action called by addAction (Repro mission uses this)
  2. Running the code via "KeyDown" display event handler
  3. Running the code via "MouseZChanged" display event handler
  4. From a precompiled postInit function, which spawns a code block where it delays the animate code by 1 second. (Without the delay, the animate worked without problems)

Using Dev build 1.53.132487

Video: https://www.youtube.com/watch?v=kaAGnTW-yFQ

Event Timeline

Sniperwolf572 edited Additional Information. (Show Details)
Sniperwolf572 set Category to Scripting.
Sniperwolf572 set Reproducibility to Always.
Sniperwolf572 set Severity to None.
Sniperwolf572 set Resolution to Open.
Sniperwolf572 set Legacy ID to 2369036664.May 8 2016, 12:44 PM