> For the complete documentation index, see [llms.txt](https://loki-1.gitbook.io/visions-reality/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://loki-1.gitbook.io/visions-reality/movement/locomotion.md).

# Locomotion

Movement

Movement speed is calculated with your characters mass and static forces, here we have broken down the logic.

{% hint style="warning" %}
Locomotion values may vary dependent on the connected world / selected avatar. Custom locomotion can be disabled and values forced by the world, when not disabled the avatar settings are used.

### Default Values

* **WalkingSpeed** = 175
* **RunningSpeed** = 300
* **CrouchSpeed** = 2
* **JumpPower** = 25
* **Mass** = 5kg
  {% endhint %}

{% hint style="info" %}

## Walking

* Force: **WalkingSpeed** with HMD maintaining direction
* Limits jump force to 80% (default: 20m/s)
  {% endhint %}

{% hint style="info" %}

## Running

* Force: **RunningSpeed** with HMD maintaining direction
* Allows 100% of jump force (default: 25m/s)
  {% endhint %}

{% hint style="info" %}

## Height adjustment

* Adjustment: **CrouchSpeed** \* (left joystick vertical)
* Limited to the height restrictions set per avatar
  {% endhint %}

{% hint style="info" %}

## Jumping

* Holding jump starts a timer named **JumpTime** limited to 1 second
* Upon release an upwards force of **JumpPower**/**JumpTime**
* Jumping maintains current velocity allowing for leaps
* If running prior to jumping, running status is maintained for 1.5 seconds, if landing after 0.5 seconds, your character will return to walking
  {% endhint %}
