add absolute/relative force/torque addition functions
git-svn-id: svn://anubis/anaglym/trunk@102 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
1 parent
7e22874623
commit
724622e094
4 files changed
+106
No files matched your search
@@ -10,6 +10,8 @@ end
|
||||
function key_pressed_event(key)
|
||||
if (key == "d") then
|
||||
ball2:destroy()
|
||||
elseif (key == "p") then
|
||||
ball:addForce(-10000, 0, 0)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user