Add engio for character animation

This commit is contained in:
2024-02-07 15:59:17 -05:00
parent c0416cffe9
commit 21a1cf688f
2 changed files with 17 additions and 2 deletions

View File

@@ -58,3 +58,8 @@ function engio.myfunction(actor, place, a, b, c)
pprint("B:", b)
pprint("C:", c)
end
function engio.moveto(actor, place, action, xyz)
-- todo: sanity check the action and xyz.
tangible.animate(actor, nil, {action=action, xyz=xyz})
end