|
@@ -1527,14 +1527,10 @@ self.C3_ExpressionFuncs = [
|
|
|
const n0 = p._GetNode(0);
|
|
const n0 = p._GetNode(0);
|
|
|
return () => n0.ExpInstVar_Family();
|
|
return () => n0.ExpInstVar_Family();
|
|
|
},
|
|
},
|
|
|
- () => "catmove",
|
|
|
|
|
- () => 0.3,
|
|
|
|
|
() => "for collision",
|
|
() => "for collision",
|
|
|
() => 0.2,
|
|
() => 0.2,
|
|
|
() => "Blocksunder",
|
|
() => "Blocksunder",
|
|
|
() => -15,
|
|
() => -15,
|
|
|
- () => "woodm",
|
|
|
|
|
- () => "touch blocks",
|
|
|
|
|
p => {
|
|
p => {
|
|
|
const n0 = p._GetNode(0);
|
|
const n0 = p._GetNode(0);
|
|
|
const n1 = p._GetNode(1);
|
|
const n1 = p._GetNode(1);
|
|
@@ -1542,6 +1538,24 @@ self.C3_ExpressionFuncs = [
|
|
|
const n3 = p._GetNode(3);
|
|
const n3 = p._GetNode(3);
|
|
|
return () => C3.distanceTo(n0.ExpObject(), n1.ExpObject(), n2.ExpObject(), n3.ExpObject());
|
|
return () => C3.distanceTo(n0.ExpObject(), n1.ExpObject(), n2.ExpObject(), n3.ExpObject());
|
|
|
},
|
|
},
|
|
|
|
|
+ p => {
|
|
|
|
|
+ const f0 = p._GetNode(0).GetBoundMethod();
|
|
|
|
|
+ return () => (300 * f0());
|
|
|
|
|
+ },
|
|
|
|
|
+ p => {
|
|
|
|
|
+ const n0 = p._GetNode(0);
|
|
|
|
|
+ const n1 = p._GetNode(1);
|
|
|
|
|
+ const f2 = p._GetNode(2).GetBoundMethod();
|
|
|
|
|
+ return () => (n0.ExpObject() + ((Math.cos(C3.toRadians(n1.ExpObject())) * 300) * f2()));
|
|
|
|
|
+ },
|
|
|
|
|
+ p => {
|
|
|
|
|
+ const n0 = p._GetNode(0);
|
|
|
|
|
+ const n1 = p._GetNode(1);
|
|
|
|
|
+ const f2 = p._GetNode(2).GetBoundMethod();
|
|
|
|
|
+ return () => (n0.ExpObject() + ((Math.sin(C3.toRadians(n1.ExpObject())) * 300) * f2()));
|
|
|
|
|
+ },
|
|
|
|
|
+ () => "woodm",
|
|
|
|
|
+ () => "touch blocks",
|
|
|
() => "movetovirtual",
|
|
() => "movetovirtual",
|
|
|
() => 0.1,
|
|
() => 0.1,
|
|
|
p => {
|
|
p => {
|
|
@@ -1567,7 +1581,7 @@ self.C3_ExpressionFuncs = [
|
|
|
const v3 = p._GetNode(3).GetVar();
|
|
const v3 = p._GetNode(3).GetVar();
|
|
|
const f4 = p._GetNode(4).GetBoundMethod();
|
|
const f4 = p._GetNode(4).GetBoundMethod();
|
|
|
const v5 = p._GetNode(5).GetVar();
|
|
const v5 = p._GetNode(5).GetVar();
|
|
|
- return () => C3.clamp((C3.distanceTo(n0.ExpObject("Center"), n1.ExpObject("Center"), (f2() - v3.GetValue()), (f4() - v5.GetValue())) * 2), 15, 150);
|
|
|
|
|
|
|
+ return () => C3.clamp((C3.distanceTo(n0.ExpObject("Center"), n1.ExpObject("Center"), (f2() - v3.GetValue()), (f4() - v5.GetValue())) * 2), 0, 300);
|
|
|
},
|
|
},
|
|
|
p => {
|
|
p => {
|
|
|
const f0 = p._GetNode(0).GetBoundMethod();
|
|
const f0 = p._GetNode(0).GetBoundMethod();
|
|
@@ -1588,7 +1602,7 @@ self.C3_ExpressionFuncs = [
|
|
|
const n2 = p._GetNode(2);
|
|
const n2 = p._GetNode(2);
|
|
|
const f3 = p._GetNode(3).GetBoundMethod();
|
|
const f3 = p._GetNode(3).GetBoundMethod();
|
|
|
const v4 = p._GetNode(4).GetVar();
|
|
const v4 = p._GetNode(4).GetVar();
|
|
|
- return () => C3.clamp((C3.distanceTo(n0.ExpObject("Center"), n1.ExpObject("Center"), n2.ExpObject("Center"), (f3() - v4.GetValue())) * 2), 15, 150);
|
|
|
|
|
|
|
+ return () => C3.clamp((C3.distanceTo(n0.ExpObject("Center"), n1.ExpObject("Center"), n2.ExpObject("Center"), (f3() - v4.GetValue())) * 2), 0, 300);
|
|
|
},
|
|
},
|
|
|
p => {
|
|
p => {
|
|
|
const n0 = p._GetNode(0);
|
|
const n0 = p._GetNode(0);
|
|
@@ -1601,7 +1615,7 @@ self.C3_ExpressionFuncs = [
|
|
|
const f2 = p._GetNode(2).GetBoundMethod();
|
|
const f2 = p._GetNode(2).GetBoundMethod();
|
|
|
const v3 = p._GetNode(3).GetVar();
|
|
const v3 = p._GetNode(3).GetVar();
|
|
|
const n4 = p._GetNode(4);
|
|
const n4 = p._GetNode(4);
|
|
|
- return () => C3.clamp((C3.distanceTo(n0.ExpObject("Center"), n1.ExpObject("Center"), (f2() - v3.GetValue()), n4.ExpObject("Center")) * 2), 15, 150);
|
|
|
|
|
|
|
+ return () => C3.clamp((C3.distanceTo(n0.ExpObject("Center"), n1.ExpObject("Center"), (f2() - v3.GetValue()), n4.ExpObject("Center")) * 2), 0, 300);
|
|
|
},
|
|
},
|
|
|
p => {
|
|
p => {
|
|
|
const v0 = p._GetNode(0).GetVar();
|
|
const v0 = p._GetNode(0).GetVar();
|
|
@@ -1660,6 +1674,7 @@ self.C3_ExpressionFuncs = [
|
|
|
},
|
|
},
|
|
|
() => 25,
|
|
() => 25,
|
|
|
() => 51,
|
|
() => 51,
|
|
|
|
|
+ () => 0.3,
|
|
|
p => {
|
|
p => {
|
|
|
const v0 = p._GetNode(0).GetVar();
|
|
const v0 = p._GetNode(0).GetVar();
|
|
|
const v1 = p._GetNode(1).GetVar();
|
|
const v1 = p._GetNode(1).GetVar();
|