Lots of work on look-at widgets

This commit is contained in:
2025-04-07 16:48:27 -04:00
parent e81134473e
commit d35125eb70
24 changed files with 554 additions and 379 deletions

View File

@@ -18,11 +18,17 @@ function engio.move(action, xyz, facing)
tangible.animate(actor, nil, {action=action, xyz=xyz, facing=facing})
end
function engio.printhi(a1, a2, a3, a4, a5)
pprint("Hi there", a1, a2, a3, a4, a5)
function cube.getlookat()
return { "Hotkeys", "X", "I Am a Cube" }
end
function engio.retmany()
return 7, vec(8,9,10), "Yo", "Banana", 13.2, vec(2,3,4), "Hi"
function sphere.getlookat()
return { "Hotkeys", "X", "I Am a Sphere" }
end
function engio.getlookat()
local place = tangible.place()
local class = tangible.getclass(place)
return class.getlookat()
end