We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9d2111 commit 081f1a2Copy full SHA for 081f1a2
1 file changed
sti/plugins/box2d.lua
@@ -44,6 +44,7 @@ return {
44
-- static means it shouldn't move. Things like walls/ground.
45
elseif userdata.properties.static == true then
46
currentBody = love.physics.newBody(world, map.offsetx, map.offsety, 'static')
47
+ -- kinematic means that the object is static in the game world but effects other bodies
48
elseif userdata.properties.kinematic == true then
49
currentBody = love.physics.newBody(world, map.offsetx, map.offsety, 'kinematic')
50
end
0 commit comments