# NIF File Format Documentation

NIF Objects | Compound Types | Enum Types | Basic Types | File Versions

## NiGravity

A particle modifier; applies a gravitational field on the particles.

### Attributes

Name | Type | Arg | Arr1 | Arr2 | Cond | Description | From | To
--- | --- | --- | --- | --- | --- | --- | --- | ---
From NiObject
From NiParticleModifier
Next Modifier | Ref<NiParticleModifier> |  |  |  |  | Next particle modifier. |  |
Controller | Ptr<NiParticleSystemController> |  |  |  |  | Points to the particle system controller parent. | 4.0.0.2 |
From NiGravity
Unknown Float 1 | float |  |  |  |  | Unknown. | 4.0.0.2 |
Force | float |  |  |  |  | The strength/force of this gravity. |  |
Type | FieldType |  |  |  |  | The force field's type. |  |
Position | Vector3 |  |  |  |  | The position of the mass point relative to the particle system. (TODO: check for versions <= 3.1) |  |
Direction | Vector3 |  |  |  |  | The direction of the applied acceleration. |  |

### Parent Of