Files
evol-assets/scripts/SideScene/Ghost.lua
T
2021-06-25 22:09:01 +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