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