dreamstack/engine/ds-physics/CHANGELOG.md

51 lines
1.5 KiB
Markdown
Raw Normal View History

# Changelog
## [1.6.0] - 2026-03-11
### Added
- **`get_body_type_v160(body)`** — returns 0=dynamic, 1=kinematic, 2=fixed, -1=invalid
- **`get_world_center_of_mass_v160()`** — mass-weighted center of all dynamic bodies
- **`apply_gravity_well_v160(cx, cy, radius, strength)`** — attractive radial force (pulls toward center)
- **`get_total_kinetic_energy_v160()`** — sum of 0.5·m·v² for all dynamic bodies
- **`engine_version_v160()`** — version string
- 10 new tests (260 total)
## [1.5.0] - 2026-03-11
### Added
- `apply_force_field_v150` — repulsive radial force
- `freeze/unfreeze_body_v150` — kinematic toggle
- `get_distance_v150` — center-to-center distance
- `get_angular_momentum_v150` — angular momentum
- 10 new tests (250 total)
## [1.4.0] - 2026-03-11
### Added
- `raycast_v140`, `get_collision_events_v140`, `set/get_time_scale_v140`, `get_body_momentum_v140`
- 10 new tests (240 total)
## [1.3.0] - 2026-03-11
### Added
- `snapshot/restore_scene_v130`, `get_body_aabb_v130`, `apply_torque_v130`
- 10 new tests (230 total)
## [1.2.0] - 2026-03-11
### Added
- `get_joint_info_v120`, `create_spring_joint_v120`, `set_body_rotation_v120`, `get_body_energy_v120`
- 10 new tests (220 total)
## [1.1.0] - 2026-03-11
### Added
- `get_body_velocity_v110`, `set_body_position_v110`, `get_contact_pairs_v110`
- 9 new tests (210 total)
## [1.0.0] - 2026-03-11 🎉
### Added
- Body tags, list, impulse, mass, friction, world bounds, reset, version
- 9 new tests (201 total)