5 lines
199 B
Lua
5 lines
199 B
Lua
player = {}
|
|
player.body = love.physics.newBody(myWorld, 100, 100, 'dynamic')
|
|
player.shape = love.physics.newRectangleShape(66, 92)
|
|
player.fixture = love.physics.newFixture(player.body, player.shape)
|