self:get_bones
Shared
Retrieves a list of all bone names in the model's skeleton
Syntax
local bones = self:get_bones()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
table | bones | Array of bone name strings |
Examples
local entity = core.model.create("character")
local bones = entity:get_bones()
core.engine.iprint(bones)