ctrl_wire
Wire two objects' parameters using an expression, so one property drives another—e.g., wheel rotation driven by car position. Define source and target dotted paths.
Instructions
把两个对象的参数用表达式连线(Wire Parameters)。典型用法:车轮旋转由车体位移驱动。sourceProperty/targetProperty 是相对节点的点号路径,例如 position.x_position 或 rotation.controller.z_rotation。 [English] Wire two objects' parameters together with an expression (Wire Parameters). Classic use: a wheel's rotation driven by the car's position. sourceProperty / targetProperty are dotted paths relative to the node, e.g. position.x_position or rotation.controller.z_rotation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | 源对象名(驱动方)。 | Source object name (driver). | |
| target | Yes | 目标对象名(被驱动方)。 | Target object name (driven). | |
| expression | No | 连线表达式(可选,默认 1:1 同向)。 | Wire expression (optional, default 1:1). | |
| sourceProperty | Yes | 源属性点号路径。 | Source property dotted path. | |
| targetProperty | Yes | 目标属性点号路径。 | Target property dotted path. |