Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

characterMotion

const characterMotion: object

Name Type Default value
aim object -
aim.backwardMargin number -
aim.legTurnLimit number -
aim.movingSpeed number 0.3
aim.pitchLimit number -
aim.response number 10
aim.sideStepBand number -
aim.spinePitchShare number 0.5
castAim object -
castAim.holdSeconds number 0.15
castAim.inSeconds number 0.15
castAim.outSeconds number 0.15
grip object -
grip.index number 0.75
grip.little number 0.9
grip.middle number 0.8
grip.ring number 0.85
grip.thumb number 0.9
headTurn object -
headTurn.fadeDegrees number 80
headTurn.pitchLimit number 10
headTurn.response number 20
headTurn.share number 0.4
headTurn.yawLimit number 40
landTouchSeconds number 0.25
loopFadeS number 0.15
motions object -
motions.idle string idle
motions.jump string jump
motions.land string land
motions.run string run
motions.runJump string runJump
motions.turnLeft string turnLeft
motions.turnRight string turnRight