remove physics dummy stuff

This commit is contained in:
2020-02-05 11:30:41 +07:00
parent fb6ac8f0ab
commit 120ec667f7
21 changed files with 0 additions and 624 deletions

View File

@@ -48,9 +48,6 @@
"script" : "../scripts/sample_08/ship.lua"
},
"touchable" : {},
"rigid_body" : {
"type" : "dynamic"
},
"circle_collider" : {
"offset" : [10,15],
"radius" : 33
@@ -71,9 +68,6 @@
"script" : "../scripts/sample_08/ship.lua"
},
"touchable" : {},
"rigid_body" : {
"type" : "dynamic"
},
"circle_collider" : {
"offset" : [10,15],
"radius" : 33
@@ -95,9 +89,6 @@
"script" : "../scripts/sample_08/ship.lua"
},
"touchable" : {},
"rigid_body" : {
"type" : "dynamic"
},
"rect_collider" : {
"size" : [66,113]
},
@@ -120,9 +111,6 @@
"actor" : {
"translation" : [0,-240]
},
"rigid_body" : {
"type" : "kinematic"
},
"rect_collider" : {
"size" : [320, 50]
}

View File

@@ -1,19 +0,0 @@
---@class rigid_body
local rigid_body = {
---@type boolean
enabled = true,
---@type boolean
disabled = false
}
---@overload fun(self: rigid_body)
---@param self rigid_body
function rigid_body.enable(self) end
---@overload fun(self: rigid_body)
---@param self rigid_body
function rigid_body.disable(self) end
---@type rigid_body
_G.rigid_body = _G.rigid_body or rigid_body

View File

@@ -39,9 +39,6 @@ local gobject = {
---@type renderer
renderer = nil,
---@type rigid_body
rigid_body = nil,
---@type scene
scene = nil,

View File

@@ -1,6 +0,0 @@
---@class physics
local physics = {
}
---@type physics
_G.the_physics = _G.the_physics or physics