チュートリアル
成果物
ポイント
- エクスプレッションで書かれたものをグラフ表示するには以下の部分を押す

- 操作したいパラメータを追加するのはshift + ○
- R
- shift + p

- positionのエクスプレッション
len =content("Rectangle 1").content("Rectangle Path 1").size[0]/2;
ofs = len*Math.sqrt(2) - len;
rot = transform.rotation;
rad = degreesToRadians(rot);
yMov = Math.abs(Math.sin(rad*2) * ofs) * -1;
xMov = rot * (len * 2) / 90;
x=value[0] + xMov;
y=value[1] + yMov - len;
[x,y]感想
- 現在の回転角によってx座標もy座標も決まってくるのが面白い


コメント