Play Skeletal Morph
Plays the specified Skeletal Morph.
Inputs | Type | Info |
---|---|---|
Target | EasyMorphComponent Reference | |
SkeletalMorphTarget | Name | Name of the Skeletal Morph to play. |
Duration | Float | How long the animation from current Morph to the Target Morph should be (in Seconds) |
Reset | Bool | Forces the animation to restart even if it is already running. Will reset timer, but still start from currrent Morph Values. |
RegrowBodyParts | Bool | Whether missing Body Parts should regrow or not. |
Replication
This function also comes in 3 replicated variants:
- Play Skeletal Morph Multicast
- Play Skeletal Morph On Client
- Play Skeletal Morph Server Command
Generally, you would want the server to execute the Play Skeletal Morph 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 plays the Skeletal Morph only on the owning Client.
The "Server Command" variant is a quick way to have any player start a Skeletal Morph 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 Morph or anything. The Server Command does a plain rerouting of the Play Skeletal Morph to all Clients.
In short, build your own Server logic and then call the Multicast variant from the Server as a Best Practice.