For some reason you are setting density as nil, instead of 1. Not sure why that isn't cross platform.paranoiax wrote:just add 1 as a the third Argument for each newFixturejosefnpat wrote:It blew up for me :(Code: Select all
Error: ammo/physics/PhysicalEntity.lua:97: bad argument #3 to 'newFixture' (number expected, got nil) stack traceback: [C]: in function 'newFixture' ammo/physics/PhysicalEntity.lua:97: in function 'addShape' entities/Barrier.lua:17: in function 'added' ammo/core/World.lua:150: in function '_updateLists' ammo/core/World.lua:43: in function 'update' ammo/physics/PhysicalWorld.lua:42: in function 'update' worlds/Game.lua:62: in function 'update' ammo/core/init.lua:33: in function 'update' main.lua:60: in function 'update' [string "boot.lua"]:404: in function <[string "boot.lua"]:373> [C]: in function 'xpcall'
Its a problem with the Linux version of love I guess. It doesn't set the default value.
Also, your mouse grab stops me from alt-tabbing for some reason. if I didn't find a bug in the player.entity, I would have had to change to a different tty and killed it with a killall -9. Please bind escape to love.event.quit()!