content/hifi-content/luis/models/Jene_5/scripts/Jene_FlowCpp.js
2022-02-14 02:04:11 +01:00

67 lines
1.6 KiB
JavaScript

(function() {
CUSTOM_FLOW_DATA = {
"skirt": {
"active": true,
"stiffness": 1,
"radius": 0.01,
"gravity": -0.0096,
"damping": 0.85,
"inertia": 0.25,
"delta": 0.45
},
"breasts": {
"active": true,
"stiffness": 1,
"radius": 0.06,
"gravity": 0,
"damping": 0.65,
"inertia": 0.8,
"delta": 0.45
},
"hair": {
"active": true,
"stiffness": 0.55,
"radius": 0.04,
"gravity": -0.001,
"damping": 0.8,
"inertia": 0.8,
"delta": 0.35
}
};
CUSTOM_COLLISION_DATA = {
"HeadTop_End": {
"type": "sphere",
"radius": 0.1,
"offset": {
"x": 0,
"y": -0.15,
"z": 0
}
},
"Hips": {
"type": "sphere",
"radius": 0.17,
"offset": {
"x": 0,
"y": -0.05,
"z": 0
}
},
"Spine2": {
"type": "sphere",
"radius": 0.11,
"offset": {
"x": 0,
"y": -0.1,
"z": 0
}
}
};
var USE_FLOW = true;
var USE_COLLISIONS = true;
MyAvatar.useFlow(USE_FLOW, USE_COLLISIONS, CUSTOM_FLOW_DATA, CUSTOM_COLLISION_DATA);
})();