v1.0
simulation
Adds a particle force object. If the object does not have a particle force property then it is added. This object is connected to a particle cloud object.
AddParticleForce( [Target], [InputObj] ); |
Parameter | Type | Description |
---|---|---|
Target | String | List of particle-emitting
objects.
Default Value: Selected objects |
InputObj | String | Force object |
' Create a particle force set myParticleCloud = CreateParticleCloud() set myParticleEmitter = CreatePrim( "Sphere", "MeshSurface", "ParticleEmitter" ) AddParticleEmitter myParticleCloud, myParticleEmitter set myParticleForce = CreatePrim( "Sphere", "MeshSurface", "ParticleForce") AddParticleForce myParticleCloud, myParticleForce |