Skip to content

Instantly share code, notes, and snippets.

@videlais

videlais/physics.lua Secret

Created Apr 10, 2018
Embed
What would you like to do?
Initial physics world creation
-- A meter will be 64px
love.physics.setMeter(64)
-- Set the X gravity, Y gravity, and if objects can sleep
world = love.physics.newWorld( 0, 0, true )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.