This commit is contained in:
jordan4ibanez 2024-05-09 02:14:04 -04:00
parent 295b8f7e8c
commit ea704ad465
3 changed files with 3 additions and 1 deletions

View File

@ -75,6 +75,7 @@
"globalstep", "globalstep",
"goldaxe", "goldaxe",
"groupcaps", "groupcaps",
"hackjob",
"healthbar", "healthbar",
"hotbar", "hotbar",
"hpchange", "hpchange",

View File

@ -92,6 +92,7 @@ namespace animationStation {
return true; return true;
} }
// todo: this is a hackjob and needs to be replaced with animation salt.
/** /**
* Set a player's bone rotation. * Set a player's bone rotation.
* @param player The player. * @param player The player.

View File

@ -156,10 +156,10 @@ namespace playerModel {
} }
// Head bone. // Head bone.
// todo: this is a hackjob and needs to be replaced with animation salt.
const lookDir = player.get_look_vertical(); const lookDir = player.get_look_vertical();
setPlayerBoneRotation(player, "Head", create3d(-lookDir, 0, 0)); setPlayerBoneRotation(player, "Head", create3d(-lookDir, 0, 0));
} }
}); });
} }