Can someone please explain to how would I create a force connection controlled by signal to “force” a mesh created inside mlys.lua? I wanted to create the equivalent to this:
mlys.point-input → mlys.signal → mlys.force → mlys.rect-plate → mlys.point-output
but inside mlys.lua with a mesh instead of a rect plate.
I tried to use something like
local inputPoint1 = modalys.create_point_input{ name="input1",channel= 1}
local mySig =modalys.create_controller{kind="signal",input=inputPoint1,name="MySignal1"}
local meshAccIn = modalys.create_access{where=finalMesh,kind="normal",name="meshAccIn",position=396}
local myForce = modalys.create_connection{kind="force",where=meshAccIn,name="cxForce1"}
followed by accesses and point-outputs on the object, but I don’t see how to connect the signal controller to the force connection.
Thanks in advance!