Contents

isExclusive

A Boolean value that indicates whether the field node should override all other field nodes that might otherwise affect physics bodies.

Declaration

var isExclusive: Bool { get set }

Discussion

If the value is set to true and a physics body is within this field’s region, all other field nodes that might otherwise affect this body are ignored. The default value is false.

If you set this property to true on multiple field nodes within a scene, their regions should not overlap. If they do, the results are undefined.

See Also

Determining Which Physics Bodies Are Affected by the Field