16 lines
398 B
Lua
Executable File
16 lines
398 B
Lua
Executable File
|
|
function update()
|
|
ballx, bally, ballz = ball:getPosition()
|
|
ag.setCamera(7, -6, 15, ballx, bally, ballz, 0, 0, 1)
|
|
end
|
|
|
|
arena = ag.loadStaticModel("boxarena")
|
|
ball = ag.loadModel("checkerball")
|
|
ball:setPosition(-7, 7.4, 12)
|
|
ball2 = ball:clone()
|
|
ball2:setPosition(-7, 7.4, 14)
|
|
ball3 = ball:clone()
|
|
ball3:setPosition(-7, 7.4, 16)
|
|
logo = ag.loadModel("dwlogo", 0.5)
|
|
logo:setPosition(-1, 2, 11)
|