Set Bone Translation
Sets the translation of a single Bone.
Inputs | Type | Info |
---|---|---|
Target | EasyMorphComponent Reference | |
BoneName | Name | Name of the Bone we want to modify. |
Offset | Vector | The new additive Location (Offset) the Bone should have (in Component Space) |
Replication
This function also comes in 3 replicated variants:
- Set Bone Translation Multicast
- Set Bone Translation On Client
- Set Bone Translation Server Command
Generally, you would want the server to execute the Set Bone Translation 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 sets the Bone Translation only on the owning Client.
The "Server Command" variant is a quick way to have any player set a Bone Translation 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 Set Bone Translation to all Clients.
In short, build your own Server logic and then call the Multicast variant from the Server as a Best Practice.