feat(Core/Movement): port smooth waypoint movement from Cataclysm Preservation Project (#25106)

Co-authored-by: blinkysc <[email protected]>
Co-authored-by: Ovahlord <[email protected]>
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
Co-authored-by: Kitzunu <[email protected]>
This commit is contained in:
blinkysc
2026-03-23 10:08:14 -03:00
committed by GitHub
co-authored by blinkysc Ovahlord Claude Opus 4.6 Kitzunu
parent 3da6e30196
commit 4201acddd5
69 changed files with 844 additions and 386 deletions
@@ -0,0 +1,15 @@
-- Add velocity and smoothTransition columns to waypoint_data
ALTER TABLE `waypoint_data`
ADD COLUMN `velocity` FLOAT NOT NULL DEFAULT 0 AFTER `orientation`,
ADD COLUMN `smoothTransition` TINYINT NOT NULL DEFAULT 0 AFTER `delay`;
-- Create waypoint_data_addon table for custom spline points
CREATE TABLE IF NOT EXISTS `waypoint_data_addon` (
`PathID` INT UNSIGNED NOT NULL,
`PointID` INT UNSIGNED NOT NULL,
`SplinePointIndex` INT UNSIGNED NOT NULL,
`PositionX` FLOAT NOT NULL DEFAULT 0,
`PositionY` FLOAT NOT NULL DEFAULT 0,
`PositionZ` FLOAT NOT NULL DEFAULT 0,
PRIMARY KEY (`PathID`, `PointID`, `SplinePointIndex`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;