Instance Property

exclusive

A Boolean value that determines whether the field overrides other fields whose areas of effect it overlaps.

Declaration

@property(nonatomic, getter=isExclusive) BOOL exclusive;

Discussion

If this value is YES and a physics body is within this field’s region, SceneKit ignores the effects of all other fields that might otherwise affect the body. The default value is NO.

If you set this property to YES on multiple fields in a scene, their regions should not overlap. If they do, the results are undefined.

See Also

Specifying a Field’s Behavior

strength

A multiplier for the force that the field applies to objects in its area of effect.

falloffExponent

An exponent that determines how the field’s strength diminishes with distance.

minimumDistance

The minimum value for distance-based effects.

active

A Boolean value that determines whether the field’s effect is enabled.