Files
evol-assets/scripts/SideScene/Ghost.lua
T
mo7sen eb27ae4c24 Minor Changes
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
2021-06-26 21:23:13 +02:00

9 lines
197 B
Lua
Executable File

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