Regular API function

sim.addParticleObjectItem

Description Adds an item (or clears all items) to a previously inserted particle object. See also sim.addParticleObject and sim.removeParticleObject
C/C++
synopsis
C/C++
parameters
C/C++
return value
Lua
synopsis
sim.addParticleObjectItem(int particleObjectHandle,float[] itemData)
Lua
parameters
objectHandle: handle of a previously added particle object
itemData: data relative to an item. All items (particles) require at least 6 values: p1x, p1y, p1z, p2x, p2y, p2z with p1 is the particle start position, p2-p1 is the particle initial velocity vector. Auxiliary values might be required depending on the particle object attributes. See the particle object type combined with attributes for more information. If nil, the particle object is emptied of all its items
Lua
return values
Python
synopsis
sim.addParticleObjectItem(int particleObjectHandle,list itemData)