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",
"goldaxe",
"groupcaps",
"hackjob",
"healthbar",
"hotbar",
"hpchange",

View File

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

View File

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