Files
evol-sandbox/res/project/res/scripts/SideScene/Ghost.lua
2021-06-09 09:26:15 +02:00

9 lines
197 B
Lua

this.on_collisionenter = function(other)
print(other.name)
end
this.on_update = function ()
local player = getObject('Player.Child')
this.position = player.position + Vec3:new(0, 10, 0)
end