feat(Core/Movement): port smooth waypoint movement from Cataclysm Preservation Project (#25106)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com> Co-authored-by: Ovahlord <dreadkiller@gmx.de> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Kitzunu <Kitzunu@users.noreply.github.com>
This commit is contained in:
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue