Add point directional blending node to animation json

This commit is contained in:
luiscuenca 2019-09-24 18:24:27 -07:00
parent ad79393e1f
commit 7c4fe39918
No known key found for this signature in database
GPG key ID: 2387ECD129A6961D

View file

@ -1543,6 +1543,10 @@
"id": "seatedReactionApplaud",
"type": "randomSwitchStateMachine"
},
{
"children": [
{
"children": [
{
"children": [
{
@ -1643,6 +1647,191 @@
"type": "randomSwitchStateMachine"
}
],
"data": {
"alpha": 0,
"alphaVar": "seatedPointBlendAlpha",
"blendType": "addAbsolute"
},
"id": "seatedReactionPoint",
"type": "blendLinear"
},
{
"children": [
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 11,
"loopFlag": true,
"startFrame": 11,
"timeScale": 1,
"url": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx"
},
"id": "seatedPointLeft",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 30,
"loopFlag": true,
"startFrame": 30,
"timeScale": 1,
"url": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx"
},
"id": "seatedPointRight",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 50,
"loopFlag": true,
"startFrame": 50,
"timeScale": 1,
"url": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx"
},
"id": "seatedPointUp",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 70,
"loopFlag": true,
"startFrame": 70,
"timeScale": 1,
"url": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx"
},
"id": "seatedPointDown",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 90,
"loopFlag": true,
"startFrame": 90,
"timeScale": 1,
"url": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx"
},
"id": "seatedPointUpLeft",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 110,
"loopFlag": true,
"startFrame": 110,
"timeScale": 1,
"url": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx"
},
"id": "seatedPointUpRight",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 130,
"loopFlag": true,
"startFrame": 130,
"timeScale": 1,
"url": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx"
},
"id": "seatedPointDownLeft",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 150,
"loopFlag": true,
"startFrame": 150,
"timeScale": 1,
"url": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx"
},
"id": "seatedPointDownRight",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 3,
"loopFlag": true,
"startFrame": 3,
"timeScale": 1,
"url": "qrc:///avatar/animations/sitting_emote_point_aimoffsets.fbx"
},
"id": "seatedPointCenter",
"type": "clip"
}
],
"data": {
"alpha": [
0,
0,
0
],
"alphaVar": "seatedPointAroundAlpha",
"centerId": "seatedPointCenter",
"downId": "seatedPointDown",
"downLeftId": "seatedPointDownLeft",
"downRightId": "seatedPointDownRight",
"leftId": "seatedPointLeft",
"rightId": "seatedPointRight",
"upId": "seatedPointUp",
"upLeftId": "seatedPointUpLeft",
"upRightId": "seatedPointUpRight"
},
"id": "seatedPointAround",
"type": "blendDirectional"
}
],
"data": {
"alpha": 0,
"alphaVar": "seatedPointBlendAlpha",
"blendType": "addAbsolute"
},
"id": "seatedReactionPoint",
"type": "blendLinear"
}
],
"data": {
"currentState": "seatedTalkOverlay",
"states": [
@ -3528,6 +3717,8 @@
"type": "randomSwitchStateMachine"
},
{
"children": [
{
"children": [
{
"children": [
@ -3622,6 +3813,182 @@
},
"id": "reactionPoint",
"type": "randomSwitchStateMachine"
},
{
"children": [
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 11,
"loopFlag": true,
"startFrame": 11,
"timeScale": 1,
"url": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx"
},
"id": "idlePointLeft",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 30,
"loopFlag": true,
"startFrame": 30,
"timeScale": 1,
"url": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx"
},
"id": "idlePointRight",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 50,
"loopFlag": true,
"startFrame": 50,
"timeScale": 1,
"url": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx"
},
"id": "idlePointUp",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 70,
"loopFlag": true,
"startFrame": 70,
"timeScale": 1,
"url": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx"
},
"id": "idlePointDown",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 90,
"loopFlag": true,
"startFrame": 90,
"timeScale": 1,
"url": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx"
},
"id": "idlePointUpLeft",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 110,
"loopFlag": true,
"startFrame": 110,
"timeScale": 1,
"url": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx"
},
"id": "idlePointUpRight",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 130,
"loopFlag": true,
"startFrame": 130,
"timeScale": 1,
"url": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx"
},
"id": "idlePointDownLeft",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 150,
"loopFlag": true,
"startFrame": 150,
"timeScale": 1,
"url": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx"
},
"id": "idlePointDownRight",
"type": "clip"
},
{
"children": [
],
"data": {
"baseFrame": 1,
"baseURL": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx",
"blendType": "addAbsolute",
"endFrame": 3,
"loopFlag": true,
"startFrame": 3,
"timeScale": 1,
"url": "qrc:///avatar/animations/emote_point01_aimoffsets.fbx"
},
"id": "idlePointCenter",
"type": "clip"
}
],
"data": {
"alpha": [
0,
0,
0
],
"alphaVar": "idlePointAroundAlpha",
"centerId": "idlePointCenter",
"downId": "idlePointDown",
"downLeftId": "idlePointDownLeft",
"downRightId": "idlePointDownRight",
"leftId": "idlePointLeft",
"rightId": "idlePointRight",
"upId": "idlePointUp",
"upLeftId": "idlePointUpLeft",
"upRightId": "idlePointUpRight"
},
"id": "idlePointAround",
"type": "blendDirectional"
}
],
"data": {
"alpha": 0,
"alphaVar": "idlePointBlendAlpha",
"blendType": "addAbsolute"
},
"id": "reactionPoint",
"type": "blendLinear"
}
],
"data": {