Add todo
This commit is contained in:
parent
295b8f7e8c
commit
ea704ad465
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
@ -75,6 +75,7 @@
|
|||||||
"globalstep",
|
"globalstep",
|
||||||
"goldaxe",
|
"goldaxe",
|
||||||
"groupcaps",
|
"groupcaps",
|
||||||
|
"hackjob",
|
||||||
"healthbar",
|
"healthbar",
|
||||||
"hotbar",
|
"hotbar",
|
||||||
"hpchange",
|
"hpchange",
|
||||||
|
@ -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.
|
||||||
|
@ -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));
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user