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