FieldSettings(bpy_struct)
base class — bpy_struct
- class bpy.types.FieldSettings(bpy_struct)
Field settings for an object in physics simulation
- apply_to_location
Affect particle’s location (default False)
- Type:
bool
- apply_to_rotation
Affect particle’s dynamic rotation (default False)
- Type:
bool
- distance_max
Maximum distance for the field to work (in [0, inf], default 0.0)
- Type:
float
- distance_min
Minimum distance for the field’s falloff (in [0, 1000], default 0.0)
- Type:
float
- falloff_power
How quickly strength falls off with distance from the force field (in [0, 10], default 0.0)
- Type:
float
- falloff_type
(default
'SPHERE')- Type:
Literal[‘CONE’, ‘SPHERE’, ‘TUBE’]
- flow
Convert effector force into air flow velocity (in [-inf, inf], default 0.0)
- Type:
float
- guide_clump_amount
Amount of clumping (in [-1, 1], default 0.0)
- Type:
float
- guide_clump_shape
Shape of clumping (in [-0.999, 0.999], default 0.0)
- Type:
float
- guide_free
Guide-free time from particle life’s end (in [0, 0.99], default 0.0)
- Type:
float
- guide_kink_amplitude
The amplitude of the offset (in [0, 10], default 0.0)
- Type:
float
- guide_kink_axis
Which axis to use for offset (default
'X')- Type:
Literal[Axis Xyz Items]
- guide_kink_frequency
The frequency of the offset (1/total length) (in [0, 10], default 0.0)
- Type:
float
- guide_kink_shape
Adjust the offset to the beginning/end (in [-0.999, 0.999], default 0.0)
- Type:
float
- guide_kink_type
Type of periodic offset on the curve (default
'NONE')- Type:
Literal[‘NONE’, ‘BRAID’, ‘CURL’, ‘RADIAL’, ‘ROLL’, ‘ROTATION’, ‘WAVE’]
- guide_minimum
The distance from which particles are affected fully (in [-inf, inf], default 0.0)
- Type:
float
- harmonic_damping
Damping of the harmonic force (in [-inf, inf], default 0.0)
- Type:
float
- inflow
Inwards component of the vortex force (in [-inf, inf], default 0.0)
- Type:
float
- linear_drag
Drag component proportional to velocity (in [-inf, inf], default 0.0)
- Type:
float
- noise
Amount of noise for the force strength (in [0, 10], default 0.0)
- Type:
float
- quadratic_drag
Drag component proportional to the square of velocity (in [-inf, inf], default 0.0)
- Type:
float
- radial_falloff
Radial falloff power (real gravitational falloff = 2) (in [0, 10], default 0.0)
- Type:
float
- radial_max
Maximum radial distance for the field to work (in [0, 1000], default 0.0)
- Type:
float
- radial_min
Minimum radial distance for the field’s falloff (in [0, 1000], default 0.0)
- Type:
float
- rest_length
Rest length of the harmonic force (in [0, inf], default 0.0)
- Type:
float
- seed
Seed of the noise (in [1, 128], default 0)
- Type:
int
- shape
Which direction is used to calculate the effector force (default
'POINT')POINTPoint – Field originates from the object center.LINELine – Field originates from the local Z axis of the object.PLANEPlane – Field originates from the local XY plane of the object.SURFACESurface – Field originates from the surface of the object.POINTSEvery Point – Field originates from all of the vertices of the object.
- Type:
Literal[‘POINT’, ‘LINE’, ‘PLANE’, ‘SURFACE’, ‘POINTS’]
- size
Size of the turbulence (in [0, inf], default 0.0)
- Type:
float
- strength
Strength of force field (in [-inf, inf], default 0.0)
- Type:
float
- texture_mode
How the texture effect is calculated (RGB and Curl need a RGB texture, else Gradient will be used instead) (default
'RGB')- Type:
Literal[‘CURL’, ‘GRADIENT’, ‘RGB’]
- texture_nabla
Defines size of derivative offset used for calculating gradient and curl (in [0.0001, 1], default 0.0)
- Type:
float
- type
Type of field (default
'NONE')NONENone.BOIDBoid – Create a force that acts as a boid’s predators or target.CHARGECharge – Spherical forcefield based on the charge of particles, only influences other charge force fields.GUIDECurve Guide – Create a force along a curve object.DRAGDrag – Create a force that dampens motion.FLUID_FLOWFluid Flow – Create a force based on fluid simulation velocities.FORCEForce – Radial field toward the center of object.HARMONICHarmonic – The source of this force field is the zero point of a harmonic oscillator.LENNARDJLennard-Jones – Forcefield based on the Lennard-Jones potential.MAGNETMagnetic – Forcefield depends on the speed of the particles.TEXTURETexture – Force field based on a texture.TURBULENCETurbulence – Create turbulence with a noise field.VORTEXVortex – Spiraling force that twists the force object’s local Z axis.WINDWind – Constant force along the force object’s local Z axis.
- Type:
Literal[‘NONE’, ‘BOID’, ‘CHARGE’, ‘GUIDE’, ‘DRAG’, ‘FLUID_FLOW’, ‘FORCE’, ‘HARMONIC’, ‘LENNARDJ’, ‘MAGNET’, ‘TEXTURE’, ‘TURBULENCE’, ‘VORTEX’, ‘WIND’]
- use_2d_force
Apply force only in 2D (default False)
- Type:
bool
- use_absorption
Force gets absorbed by collision objects (default False)
- Type:
bool
- use_global_coords
Use effector/global coordinates for turbulence (default False)
- Type:
bool
- use_gravity_falloff
Multiply force by 1/distance² (default False)
- Type:
bool
- use_guide_path_add
Based on distance/falloff it adds a portion of the entire path (default False)
- Type:
bool
- use_guide_path_weight
Use curve weights to influence the particle influence along the curve (default False)
- Type:
bool
- use_max_distance
Use a maximum distance for the field to work (default False)
- Type:
bool
- use_min_distance
Use a minimum distance for the field’s falloff (default False)
- Type:
bool
- use_multiple_springs
Every point is affected by multiple springs (default False)
- Type:
bool
- use_object_coords
Use object/global coordinates for texture (default False)
- Type:
bool
- use_radial_max
Use a maximum radial distance for the field to work (default False)
- Type:
bool
- use_radial_min
Use a minimum radial distance for the field’s falloff (default False)
- Type:
bool
- use_root_coords
Texture coordinates from root particle locations (default False)
- Type:
bool
- use_smoke_density
Adjust force strength based on smoke density (default False)
- Type:
bool
- wind_factor
How much the force is reduced when acting parallel to a surface, e.g. cloth (in [0, 1], default 0.0)
- Type:
float
- z_direction
Effect in full or only positive/negative Z direction (default
'BOTH')- Type:
Literal[‘POSITIVE’, ‘NEGATIVE’, ‘BOTH’]
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type: