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

12 lines
No EOL
765 B
JavaScript

(function() {
var USE_FLOW = true;
var USE_COLLISIONS = true;
var CUSTOM_FLOW_DATA = {"hair": {"active": true, "stiffness": 0.0, "radius": 0.04, "gravity": -0.035, "damping": 0.8, "inertia": 0.8, "delta": 0.35}};
var CUSTOM_COLLISION_DATA ={
"Spine2": {"type": "sphere", "radius": 0.14, "offset": {"x": 0.0, "y": 0.2, "z": 0.0}},
"LeftArm": {"type": "sphere", "radius": 0.05, "offset": {"x": 0.0, "y": 0.02, "z": 0.0}},
"RightArm": {"type": "sphere", "radius": 0.05, "offset": {"x": 0.0, "y": 0.02, "z": 0.0}},
"HeadTop_End": {"type": "sphere", "radius": 0.09, "offset": {"x": 0.0, "y": -0.15, "z": 0.0}}
};
MyAvatar.useFlow(USE_FLOW, USE_COLLISIONS, CUSTOM_FLOW_DATA, CUSTOM_COLLISION_DATA);
})();