Got the whole look-at demo up and running.

This commit is contained in:
2025-04-07 19:29:47 -04:00
parent 865297331a
commit c060b87556
8 changed files with 166 additions and 149 deletions

View File

@@ -27,8 +27,13 @@ function sphere.getlookat()
end
function engio.getlookat()
local place = tangible.place()
local class = tangible.getclass(place)
return class.getlookat()
local class = tangible.getclass(tangible.place())
if class ~= nil then
local getlookat = class.getlookat
if getlookat ~= nil then
return getlookat()
end
end
return ""
end