ACharacter::ServerMoveDualHybridRootMotion
Deprecated: Use ServerMovePacked() instead.
#include "GameFramework/Character.h"
Access: public
Specifiers: UFUNCTIONdeprecated
Description
Deprecated server RPC for a dual move where the first move uses normal movement and the second uses animation root motion. Replaced by ServerMovePacked() since UE 4.26.
Caveats & Gotchas
- • Deprecated since 4.26. Sending a dual move with a root-motion transition mid-packet was a common pattern for montage starts during a move frame; the packed path handles this seamlessly.
- • The root motion data for the second move comes from the animation system and is not included as explicit parameters — the server reconstructs it from the replicated montage state.
Signature
void ServerMoveDualHybridRootMotion(float TimeStamp0, FVector_NetQuantize10 InAccel0, uint8 PendingFlags, uint32 View0, float TimeStamp, FVector_NetQuantize10 InAccel, FVector_NetQuantize100 ClientLoc, uint8 NewFlags, uint8 ClientRoll, uint32 View, UPrimitiveComponent* ClientMovementBase, FName ClientBaseBoneName, uint8 ClientMovementMode) Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| TimeStamp0 | float | Timestamp of the first non-root-motion move. | — |
| InAccel0 | FVector_NetQuantize10 | Acceleration for first move. | — |
| PendingFlags | uint8 | Flags for first move. | — |
| View0 | uint32 | View for first move. | — |
| TimeStamp | float | Timestamp of the second root-motion move. | — |
| InAccel | FVector_NetQuantize10 | Acceleration for second move. | — |
| ClientLoc | FVector_NetQuantize100 | Client location after second move. | — |
| NewFlags | uint8 | Flags for second move. | — |
| ClientRoll | uint8 | Client roll. | — |
| View | uint32 | View for second move. | — |
| ClientMovementBase | UPrimitiveComponent* | Movement base. | — |
| ClientBaseBoneName | FName | Base bone. | — |
| ClientMovementMode | uint8 | Movement mode. | — |
Return Type
void Example
Engine-internal — do not call directly C++
// This RPC is sent by CharacterMovementComponent when a root motion montage
// starts mid-tick. Use the default packed RPC path (p.NetUsePackedMovementRPCs=1)
// and this is handled automatically. See Also
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | deprecated | — |
| 4.26 | deprecated | Deprecated in favour of ServerMovePacked. |
Feedback
Was this helpful?