randomHeadMovements

fun randomHeadMovements(strength: Double = 1.0, durationMultiplier: Double = 1.0, repetitionPeriod: IntRange = 2500..5000): StateBuilder.() -> Unit

Partial state that sets the interval and strength of the random head movements

Parameters

strength

Multiplier for the strength of the head movements

durationMultiplier

Multiplier for the duration of each head pose shift

repetitionPeriod

time range in milliseconds until the next random head movement