Reset full body movements||doc135552

September 20, 2022

Format

 Entity:refreshBaseAction() 
  • The class to which the function belongs:Entity

Description

Reset full body movements.


Precautions

  • Resetting an action only resets the playback of the action, not the playback time
  • Only actions whose effect attribute is the whole body can be reset. If the reset effect attribute is not the whole body, the action will not take effect.
  • Unable to reset the action that started the loop

Code Samples

on the entity object clientmount script, reset the whole body movement

this:refreshBaseAction()