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