Instance Property


The field’s directional axis.


@property(nonatomic) SCNVector3 direction;


Some types of fields apply forces whose direction or magnitude is relative to an axis. (For details on each type of field, see the methods listed in Creating Physics Fields.) Changing the direction changes the effects of these field types.

The default direction is the vector {0, -1, 0}. With this direction, for example, linear gravity fields whose strength is positive cause objects to fall in the “down” direction of scene space.

See Also

Specifying a Field’s Area of Effect


A location marking the end of the field’s area of effect.


The area affected by the field, either inside or outside its region.


A Boolean value that determines whether the field’s area of effect is shaped like a box or ellipsoid.


The offset of the field’s center within its area of effect.