Description
Characters can perform head nods, head shakes, and head tosses (sideways head movements).
In the above image, the character's head tilt position is controlled via BML. Nods (movement around the x-axis) can be combined with shakes (movement around the y-axis) and tosses (movement around the z-axis).
Requirements
The <head> behavior requires a skeleton that includes 3 joints named spine4, spine5 and skullbase in that order, with spine4 the parent of spine5, which is the parent of skullbase. The head movement is spread among those joints.
Usage
<head type="NOD"/>
Head movements will take 1 second by default. This can be adjusted by setting the synchronization points. For example, to set a 3 second head shake:
<head type="SHAKE" start="0" end="3"/>
Parameters
Parameter | Description | Example |
---|---|---|
type | Type of head movement: NOD (up-down), SHAKE (left-right), TOSS (side-side) WIGGLE and WAGGLE (multiple nods of varying intensity) | <head type="NOD"/> |
repeats | number of head movements | <head type="NOD" repeats="2"/> |
velocity | frequency of head movements, default is 1. .5 indicates twice the speed, 2 indicates half speed | <head type="NOD" velocity=".5"/> |
amount | magnitude of head movement, from 0 to 1, default is .5 | <head type="NOD" amount=".8"/> |
sbm:smooth | smoothing parameter when starting and finishing head movements | |
sbm:period | period of nod cycle, default is .5 | <head type="NOD" sbm:period=".5"/> |
sbm:warp | warp parameter for wiggle and waggle, default is .5 | <head type="WIGGLE" sbm:warp=".8"/> |
sbm:accel | acceleration parameter for wiggle and waggle, default is .5 | <head type="WIGGLE" sbm:accel=".9"/> |
sbm:pitch | pitch parameter for wiggle and waggle, default is 1 | <head type="WAGGLE" sbm:pitch=".8"/> |
sbm:decay | decay parameter for wiggle and waggle, default is .5 | <head type="WAGGLE" sbm:decay=".7"/> |
start | when the head movements starts | <head type="NOD" start="2"/> |
ready | preparation phase of head movement | <head type="NOD" start="2" ready=".5"/> |
stroke | the mid-point of the head movement | <head type="NOD" stroke="3"/> |
relax | finishing phase of head movement | <head type="NOD" relax="4"/> |
end | when the head movement ends | <head type="NOD" end="5"/> |