Skip to content

Api > PlayerLocomotion > SetDashingMultiplier()


PlayerLocomotion.SetDashingMultiplier(number value)⚓︎

Sets the dashing multiplier.

Parameters:⚓︎

Name Type Description
value number new dashing multiplier [0.0-2.0]

Usage⚓︎

---@type PlayerLocomotion
local playerlocomotion;

---@type number
local value;


playerlocomotion.SetDashingMultiplier(value)

Extra Detail⚓︎

Dashing is referred to the running mode where is activates buy pressing the VR controller’s specified button. The running speed is calculated buy the players actual walking speed multiplied by the dashing multiplier.