feature: bone model overriding

This commit is contained in:
MihailRis
2024-07-16 10:00:40 +03:00
parent 4a0bc016ce
commit d5877a342f
7 changed files with 74 additions and 33 deletions
+4
View File
@@ -118,6 +118,10 @@ local rig = entity.skeleton
-- Returns the model name assigned to the bone at the specified index
rig:get_model(index: int) -> str
-- Reassigns the bone model at the specified index
-- Resets to original if name is not specified
rig:set_model(index: int, name: str)
-- Returns the bone transformation matrix at the specified index
rig:get_matrix(index: int) -> mat4
-- Sets the bone transformation matrix at the specified index