|
|
@ -3008,6 +3008,24 @@ AFRAME.registerComponent('collider-check', { |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AFRAME.registerComponent('startfunctions', { |
|
|
|
|
|
|
|
init: function () { |
|
|
|
|
|
|
|
// load a rigger avatar from e.g RPM with a basic interaction script and few pre-recorded sentence with model details, e.g speaker id |
|
|
|
|
|
|
|
// bare minimum in complexity and weight to explain itself and kickstart the process |
|
|
|
|
|
|
|
// rely on jxr and hand interactions |
|
|
|
|
|
|
|
// add eye and head following, few basic animations (pre-recorded or not) e.g nodding or moving |
|
|
|
|
|
|
|
// see the inspection mechanism written |
|
|
|
|
|
|
|
// add the bones visible |
|
|
|
|
|
|
|
// wireframe all with different colours and add geometry on bones and all positions, attached even |
|
|
|
|
|
|
|
// see past branches |
|
|
|
|
|
|
|
// mannequin |
|
|
|
|
|
|
|
// stt |
|
|
|
|
|
|
|
// could provide predetermined behavior e.g blinked, nodding, delayed tracking, etc |
|
|
|
|
|
|
|
// a kind of phase of "populating" what capabilities are available, a bit like Metzinger's self model |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// used for testing |
|
|
|
// used for testing |
|
|
|
AFRAME.registerComponent('startfunctions', { |
|
|
|
AFRAME.registerComponent('startfunctions', { |
|
|
|
init: function () { |
|
|
|
init: function () { |
|
|
|