mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Fix taxi flight: camera panning, world reload, gryphon display, and animations
- Clear introActive/idleOrbit in externalFollow block so mouse panning works during taxi - Skip full world reload on same-map teleports (taxi landing) by tracking loadedMapId - Collect all model IDs for a path when resolving gryphon display ID (fixes displayId=0) - Remove incorrect MountDisplayId fields from Vanilla/Turtle TaxiNodes DBC layouts - Add Vanilla fly animation IDs (234/229/233) to taxi mount animation candidates
This commit is contained in:
parent
4a08271b75
commit
85714fd7f6
8 changed files with 85 additions and 19 deletions
|
|
@ -127,6 +127,12 @@ void CameraController::update(float deltaTime) {
|
|||
|
||||
// During taxi flights, skip movement logic but keep camera orbit/zoom controls.
|
||||
if (externalFollow_) {
|
||||
// Cancel any active intro/idle orbit so mouse panning works during taxi.
|
||||
// The intro handling code (below) is unreachable during externalFollow_.
|
||||
introActive = false;
|
||||
idleOrbit_ = false;
|
||||
idleTimer_ = 0.0f;
|
||||
|
||||
camera->setRotation(yaw, pitch);
|
||||
float zoomLerp = 1.0f - std::exp(-ZOOM_SMOOTH_SPEED * deltaTime);
|
||||
currentDistance += (userTargetDistance - currentDistance) * zoomLerp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue