Action Panel Introduction

July 4, 2022

Action Panel Introduction

Action Introduction

You can switch to the action list in the panel, right-click the blank area of the interface to add actions to the actor:

Select the appropriate animation (currently, animation in the editor is not supported. You need to use external tools to create skeletal animation and import it into the editor. For details, see [Import external model](#Import external model)):

Select the corresponding animation file to adjust the animation playback speed in the action editing panel and preview the action effect in the scene:

Select the animation file in the action edit panel, you can enter the action property panel:

The adjustable attributes are as follows:

  • Type: The type is animation and cannot be modified;
  • Animation file: Click to replace the animation file;
  • Start time: the start time of the animation, cannot be modified;
  • Duration: the duration of the animation, which cannot be modified;
  • Action channel: choose the whole body, upper body and lower body;
  • Enable loop play: After checking, the animation will play in loop;
  • Play times: set the number of times the animation is played in a loop;
  • Playback speed: the higher the value, the faster the speed;
  • Transition time: the transition time between two actions. The larger the value, the softer the animation transition.

Action production

Take two basic actions, idle and run, for the role as an example:

Add Action

Right-click in the action panel, select “Add Action”, and then select the two animation resources in the following figure:

Rename

When a entity references a actor, the entity will automatically play the action with a specific name in the actor when it wants to perform a default action. For example, when the entity is walking, the walking action will be played, and the name of the action must be “run”.

When the action name is listed below, when the entity enters the corresponding state, the actor will automatically play the corresponding action (if the added action is played in other states, you do not need to follow the naming convention) .

Action The status of the entity
attack2 click on the target to attack
idle idle
run run
fly fly
jump1 jump
jump2 falling while jumping
jump3 when landing after jumping
sneak sneak
swim swim
swim_idle hovering in the water while swimming
climb_up climb up
climb_down climb down
climb_left climb left
climb_right climb right
climb_static climb static

Rename the standby action just added to “idle”:

Rename the running action you just added to “run”:

Adjust Animation

Modify the properties of the animation according to the situation. For example, the standby action is usually set to loop playback:

Add Effects

Next, add effects to the standby action, click the “Add” button in the action editing panel at the bottom and select “Add Effect”:

Select the effect file to add:

Adjust Effects

In the property panel, you can adjust the display position of the effect on the unit, the cycle setting, and the start and end time of the effect.

Property Function
effects file Set the effect source file to be played.
position The effects are set based on the offset of the “binding position” on the X, Y, and Z axes.
rotation The effects are set based on the rotation angle of the “binding position” around the X, Y, and Z axes.
proportion Set the overall size of the effect.
bind location Set which skeleton or hang point the effect hangs on.
follow the bound location Set whether the effect will follow the bound skeleton or hang points when playing.
enable loop playback Set the effect to loop.
playback times When the effect is not looping, you can specify the number of times to play.
start time After setting the action to start playing, how long to delay before starting to play the effect.
duration The display duration of the effect cannot be edited.
playback speed Set the playback speed of the effect.
customizer cycle Set whether to limit the playback cycle of the effect.

Action Preview

After adding effects, we can preview the actions and effects. Click the “play” button in the action editing panel to preview the actions.

Note: Every time you adjust the properties of animation or effects,you need to click “Stop” and then “Play”to preview the adjusted effect: