lovr.headset.getVelocity

Returns the current linear velocity of the headset, in meters per second.

vx, vy, vz = lovr.headset.getVelocity()

Arguments

None

Returns

NameTypeDescription
vxnumberThe x component of the linear velocity.
vynumberThe y component of the linear velocity.
vznumberThe z component of the linear velocity.

See also