mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
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:
co-authored by
blinkysc
Ovahlord
Claude Opus 4.6
Kitzunu
parent
3da6e30196
commit
4201acddd5
@@ -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;
|
||||
Reference in New Issue
Block a user