Skip to content

Commit 081f1a2

Browse files
committed
add some documentation
1 parent e9d2111 commit 081f1a2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sti/plugins/box2d.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ return {
4444
-- static means it shouldn't move. Things like walls/ground.
4545
elseif userdata.properties.static == true then
4646
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
4748
elseif userdata.properties.kinematic == true then
4849
currentBody = love.physics.newBody(world, map.offsetx, map.offsety, 'kinematic')
4950
end

0 commit comments

Comments
 (0)