Stop Morph Target Animation
Stops a currently playing Morph Target Animation.
Values will stay exactly the same as the last time the Animation was ticked.
Inputs | Type | Info |
---|---|---|
Target | EasyMorphComponent Reference | |
MorphTargetAnimation | Name | Name of a currently playing Morph Target Animation to stop. |
Replication
This function also comes in 3 replicated variants:
- Stop Morph Target Animation Multicast
- Stop Morph Target Animation On Client
- Stop Morph Target Animation Server Command
Generally, you would want the server to execute the Stop Morph Target Animation Multicast Node. The logic behind how this call is made is up to your game design.
We also provide an "On Client" and a "Server Command" variant for ease of use.
The "On Client" variant stops the Morph Target Animation only on the owning Client.
The "Server Command" variant is a quick way to have any player stop a Morph Target Animation on their Character (through a key input as an example). However, there is no additional server-side logic to check whether the player is allowed to do this actions or not. The Server Command does a plain rerouting of the Stop Morph Target Animation to all Clients.
In short, build your own Server logic and then call the Multicast variant from the Server as a Best Practice.