My goal is to emit particles out of vertices on an animated mesh.
Below is the simulation graph I'm using, and is currently seated under pre-frame. It appears as though Realflow is not evaluating the position of the cube properly. When the particles are emitting, It is only emitting at the origin of the scene. I also found that the "vertex get channel" node is only outputting one value if I plug it in the message node.
It's possible that I'm missing a step, if so please let me know.
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<scene>
<nodes>
<node>
<name>GetMesh_01</name>
<type>GetMesh</type>
<inputs>
<input>
<name>node</name>
<type>realflow_node</type>
<value>Cube01</value>
</input>
</inputs>
</node>
<node>
<name>GetVertices_01</name>
<type>GetVertices</type>
<inputs/>
</node>
<node>
<name>ParticleAdd_01</name>
<type>ParticleAdd</type>
<inputs/>
</node>
<node>
<name>GetParticles_01</name>
<type>GetParticles</type>
<inputs>
<input>
<name>node</name>
<type>realflow_node</type>
<value>Container01</value>
</input>
</inputs>
</node>
<node>
<name>VertexGetChannel_01</name>
<type>VertexGetChannel</type>
<inputs>
<input>
<name>name</name>
<type>string</type>
<value>position</value>
</input>
</inputs>
</node>
<node>
<name>Evaluator_01</name>
<type>Evaluator</type>
<inputs>
<input>
<name>evaluate</name>
</input>
</inputs>
<outputs/>
</node>
<node>
<name>VertexGetChannel_02</name>
<type>VertexGetChannel</type>
<inputs>
<input>
<name>name</name>
<type>string</type>
<value>velocity</value>
</input>
</inputs>
</node>
</nodes>
<connections>
<connection>
<source>root.GetMesh_01.mesh</source>
<target>root.GetVertices_01.mesh</target>
</connection>
<connection>
<source>root.GetParticles_01.out particles</source>
<target>root.ParticleAdd_01.particles</target>
</connection>
<connection>
<source>root.GetVertices_01.vertices</source>
<target>root.VertexGetChannel_01.vertices</target>
</connection>
<connection>
<source>root.VertexGetChannel_01.channel</source>
<target>root.ParticleAdd_01.position</target>
</connection>
<connection>
<source>root.ParticleAdd_01.out particles</source>
<target>root.Evaluator_01.evaluate</target>
</connection>
<connection>
<source>root.GetVertices_01.vertices</source>
<target>root.VertexGetChannel_02.vertices</target>
</connection>
<connection>
<source>root.VertexGetChannel_02.channel</source>
<target>root.ParticleAdd_01.velocity</target>
</connection>
</connections>
<layout>
<nodes>
<node>
<name>root.GetMesh_01</name>
<position>82.000000,96.000000</position>
<color>0.882000,0.784000,0.573000</color>
<collapsed>false</collapsed>
<horizontal_inputs>true</horizontal_inputs>
<horizontal_outputs>true</horizontal_outputs>
</node>
<node>
<name>root.GetVertices_01</name>
<position>248.000000,205.000000</position>
<color>0.882000,0.784000,0.573000</color>
<collapsed>false</collapsed>
<horizontal_inputs>true</horizontal_inputs>
<horizontal_outputs>true</horizontal_outputs>
</node>
<node>
<name>root.ParticleAdd_01</name>
<position>696.000000,177.000000</position>
<color>0.572000,0.799407,0.880000</color>
<collapsed>false</collapsed>
<horizontal_inputs>true</horizontal_inputs>
<horizontal_outputs>true</horizontal_outputs>
</node>
<node>
<name>root.GetParticles_01</name>
<position>376.000000,61.000000</position>
<color>0.572000,0.799407,0.880000</color>
<collapsed>false</collapsed>
<horizontal_inputs>true</horizontal_inputs>
<horizontal_outputs>true</horizontal_outputs>
</node>
<node>
<name>root.VertexGetChannel_01</name>
<position>425.000000,281.000000</position>
<color>0.882000,0.784000,0.573000</color>
<collapsed>false</collapsed>
<horizontal_inputs>true</horizontal_inputs>
<horizontal_outputs>true</horizontal_outputs>
</node>
<node>
<name>root.Evaluator_01</name>
<position>889.000000,238.000000</position>
<color>0.572000,0.828667,0.880000</color>
<collapsed>false</collapsed>
<horizontal_inputs>true</horizontal_inputs>
<horizontal_outputs>true</horizontal_outputs>
</node>
<node>
<name>root.VertexGetChannel_02</name>
<position>418.000000,402.000000</position>
<color>0.882000,0.784000,0.573000</color>
<collapsed>false</collapsed>
<horizontal_inputs>true</horizontal_inputs>
<horizontal_outputs>true</horizontal_outputs>
</node>
</nodes>
<notes/>
</layout>
</scene>
Thanks!