mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
feature: bone model overriding
This commit is contained in:
parent
4a0bc016ce
commit
d5877a342f
7 changed files with 74 additions and 33 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue