Add engio for character animation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user