Regular API
function
simRemoveParticleObject / sim.removeParticleObject
Description
Removes a previously added particle object. See also
sim.addParticleObject
and
sim.addParticleObjectItem
C synopsis
simInt simRemoveParticleObject(simInt objectHandle)
C parameters
objectHandle
: handle of a previously added particle object. sim_handle_all removes all particle objects from the scene
C return value
-1 if operation was not successful. In a future release, a more differentiated return value might be available
Lua synopsis
number result=sim.removeParticleObject(number objectHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function
All regular API functions on one page