Got the whole look-at demo up and running.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user