Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion proto/decentraland/kernel/comms/rfc4/comms.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,34 @@ message Movement {
float movement_blend_value = 8;
float slide_blend_value = 9;
bool is_grounded = 10;
bool is_jumping = 11;
bool is_jumping = 11; // deprecated
int32 jump_count = 24;
bool is_long_jump = 12;
bool is_long_fall = 13;
bool is_falling = 14;
bool is_stunned = 15;
GlideState glide_state = 23;
float rotation_y = 16;
// interpolation
bool is_instant = 17;
bool is_emoting = 18;
// head-sync (enabled flags + world-space yaw and pitch angles, in degrees)
bool head_ik_yaw_enabled = 19;
bool head_ik_pitch_enabled = 20;
float head_yaw = 21;
float head_pitch = 22;
enum GlideState {
PROP_CLOSED = 0;
OPENING_PROP = 1;
GLIDING = 2;
CLOSING_PROP = 3;
}
}

message MovementCompressed {
int32 temporal_data = 1; // bit-compressed: timestamp + animations
int64 movement_data = 2; // bit-compressed: position + velocity
int32 head_sync_data = 3; // bit-compressed: enabled flags + yaw + pitch
}

message PlayerEmote {
Expand Down
Loading