Contents

contactPoint

The location, in scene coordinate space, of a collision between a particle and a geometry in the scene.

Declaration

static let contactPoint: SCNParticleSystem.ParticleProperty

Discussion

The contact point property only applies to collision handler blocks (see the handle(_:forProperties:handler:) method and SCNParticleEvent.collision constant). Its value is a three-component vector (an array of three float values).

See Also

Type Properties