git.lucas.co / cce-designer
graphic design tool
git clone https://git.lucas.co/cce-designer.git

nodes/collision.json (817B)

 1 {
 2   "name": "Collision",
 3   "type": "collision",
 4   "inputs": 1,
 5   "outputs": 1,
 6   "params": [
 7     { "name": "Input", "default": "", "type": "text" },
 8     { "name": "Collider", "default": "", "type": "text" },
 9     {
10       "name": "Method",
11       "type": "choice:Inside,Proximity",
12       "default": "Inside"
13     },
14     {
15       "name": "Distance",
16       "type": "slider",
17       "default": "0.05",
18       "min": 0.0,
19       "max": 1.0,
20       "step": 0.005
21     },
22     {
23       "name": "Element Type",
24       "type": "choice:Points,Primitives",
25       "default": "Points"
26     },
27     { "name": "Group Name", "default": "collisions", "type": "text" },
28     {
29       "name": "Invert",
30       "type": "toggle",
31       "default": "false"
32     },
33     {
34       "name": "Highlight",
35       "type": "toggle",
36       "default": "true"
37     }
38   ]
39 }