Skip to content
Open
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
18 changes: 18 additions & 0 deletions proto/decentraland/sdk/components/avatar_locomotion_settings.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
syntax = "proto3";

package decentraland.sdk.components;

import "decentraland/sdk/components/common/id.proto";

option (common.ecs_component_id) = 1211;

// The PBAvatarLocomotionSettings component allows scenes to modify locomotion settings defining things such
// as the avatar movement speed, jump height etc.
message PBAvatarLocomotionSettings {
optional float walk_speed = 1; // Maximum speed when walking (in meters per second), default value is 1.5 m/s
optional float jog_speed = 2; // Maximum speed when jogging (in meters per second), default value is 8 m/s
optional float run_speed = 3; // Maximum speed when running (in meters per second), default value is 10 m/s
optional float jump_height = 4; // Height of a regular jump (in meters), default value is 1 m
optional float run_jump_height = 5; // Height of a jump while running (in meters), default value is 1.5 m
optional float hard_landing_cooldown = 6; // Cooldown time after a hard landing before the avatar can move again (in seconds), default value is 0.75 s
}
Loading