Instance Property

local

A Boolean value that specifies whether the particle simulation runs in the local coordinate space of the node containing it.

Declaration

@property(nonatomic, getter=isLocal) BOOL local;

Discussion

If NO (the default), all positions, distances, and velocities in the particle system are in the scene’s world coordinate system. If YES, the particle system runs in the local coordinate space of the node containing it.

Use this property to choose whether particles spawned by a moving emitter follow the system as it moves.

See Also

Controlling Particle Simulation

- reset

Returns the particle system to its initial state.

speedFactor

A multiplier for the speed at which SceneKit runs the particle simulation. Animatable.