set_physics_gravity
Set the default gravity Z value in Unreal Engine physics settings and persist it to the versioned Config/DefaultEngine.ini, then re-read the file to verify the change.
Instructions
Set UPhysicsSettings DefaultGravityZ, persist it to the VERSIONED Config/DefaultEngine.ini (TryUpdateDefaultConfigFile) and re-read that .ini FROM DISK to prove it landed.
Returns: { gravity_z: number, ini_path: string, is_default_config_class: bool, versioned_ini: bool, write_reported: bool, persist_method: string, ini_section: string, ini_key: string, disk_present: bool, disk_value: string, disk_matches_memory: bool, verification: object, verification_checks: [object] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gravity_z | Yes | World Z component of gravity | |
| verify_disk | No | Optional bool, default true. Re-read Config/DefaultEngine.ini with FConfigFile::Read (never GConfig) and report disk_value / disk_matches_memory. |