mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Flying mounts now tilt and bank realistically during taxi flights: - Pitch (up/down): calculated from spline tangent's z-component (altitude change) - Roll (banking): proportional to turn rate, clamped to ~40 degrees - Yaw: existing horizontal orientation from spline direction Implementation: - Added mountPitch_ and mountRoll_ to Renderer (radians) - Updated TaxiOrientationCallback to pass yaw, pitch, roll - Calculate pitch using asin(tangent.z) for altitude tilt - Calculate roll from yaw change rate: -orientDiff * 2.5, clamped to ±0.7 rad - Applied to mount rotation: glm::vec3(pitch, roll, yaw) This fixes the "weirdness" where mounts flew sideways or without natural banking. |
||
|---|---|---|
| .. | ||
| character.hpp | ||
| entity.hpp | ||
| game_handler.hpp | ||
| group_defines.hpp | ||
| inventory.hpp | ||
| npc_manager.hpp | ||
| opcodes.hpp | ||
| player.hpp | ||
| spell_defines.hpp | ||
| world.hpp | ||
| world_packets.hpp | ||
| zone_manager.hpp | ||