set ball test object to smooth and re-exported it;
removed some old camera controls from ballstairs.lua test script git-svn-id: svn://anubis/anaglym/trunk@64 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
parent
e6556d8bf3
commit
2107a67d08
BIN
tests/ball.blend
BIN
tests/ball.blend
Binary file not shown.
4068
tests/ball.obj
4068
tests/ball.obj
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,5 @@
|
||||
|
||||
center = {-8, 8, 4}
|
||||
|
||||
function update()
|
||||
elapsed = ag.elapsedTime()
|
||||
dist = 35 - elapsed / 100
|
||||
if (dist < 2) then
|
||||
dist = 5
|
||||
end
|
||||
ballx, bally, ballz = ball:getPosition()
|
||||
ag.setCamera(7, -6, 15, ballx, bally, ballz, 0, 0, 1)
|
||||
ag.doPhysics()
|
||||
|
Loading…
x
Reference in New Issue
Block a user