mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-03 16:03:52 +00:00
Fix character appearance, previews, mount seat, and online unequip
This commit is contained in:
parent
930ee76789
commit
0ff0f2f995
19 changed files with 743 additions and 113 deletions
|
|
@ -1231,7 +1231,12 @@ void Renderer::updateCharacterAnimation() {
|
|||
// Keep seat offset minimal; large offsets amplify visible bobble.
|
||||
glm::vec3 seatOffset = glm::vec3(0.0f, 0.0f, taxiFlight_ ? 0.04f : 0.08f);
|
||||
glm::vec3 targetRiderPos = mountSeatPos + seatOffset;
|
||||
if (!mountSeatSmoothingInit_) {
|
||||
// When moving, smoothing the seat position produces visible lag that looks like
|
||||
// the rider sliding toward the rump. Anchor rigidly while moving.
|
||||
if (moving) {
|
||||
mountSeatSmoothingInit_ = false;
|
||||
smoothedMountSeatPos_ = targetRiderPos;
|
||||
} else if (!mountSeatSmoothingInit_) {
|
||||
smoothedMountSeatPos_ = targetRiderPos;
|
||||
mountSeatSmoothingInit_ = true;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue