import shape
This particle generator allows you to import scene objects into the simulation. It takes a scene object, creates a particle, and assigns the object`s mesh to the particle`s shape. If multiple objects are connected, each will generate a corresponding particle in the output.
Note: When the Enable pin is not connected, particles are generated only at the start of the simulation. When the Enable pin is connected, particles are generated continuously while its value remains true. Therefore, when NodeWorks is set to Single Frame mode, the Enable pin must be connected (for example, to a Const node) in order for particles to appear on every simulated frame.
[Inputs]
Enabled - Enable or disable node evaluation. If this pin is connected, the object will be imported on each frame where the pin value is true.
Particle Group - Generated particles will belong to this this group.
Objects
Objects by RegEx - You can use regex (regular expressions) to select objects in the scene. This is a very powerful tool to automatize the process.
Objects - List of objects that you want to use. Double click on object name to remove it from the list or use Remove button. You can select multiple objects.
Hide Object - When enabled, the original object in the scene will be automatically hidden.
Hide/Unhide- Click on this button to hide or unhide Objects on the list
Properties
Inherit Mesh - New particle will copy the object`s mesh to its shape.
Inherit Velocity - New particle inherit object`s velocity.
Inherit Spin - If an object is rotating during the import process, the newly generated particle will inherit its rotational motion..
Set Mass - Sets a mass of a new object. Mass is calculated from object`s volume and user defined density.
Density - Object density.
Track Mesh - If the scene mesh has an animation, enabling this option ensures that the particle shape updates dynamically to reflect those changes throughout the simulation.
Track Positon - Enable if you want particle to track imported object???s position.
Track Velocity - Enable if you want particle to inherit imported object???s velocity.
Track Rotation - Enable if you want particle to inherit imported object???s rotation.
Track Scale - Enable if you want particle to inherit imported object???s scale.
[Outputs]
Particle Stream - Generated particle stream.
Object - Object that particle was created from.
Object Index - Index of the object in the list.
Object Name - Object name.