Page 1 of 1

love.physics error

Posted: Sun Dec 28, 2014 3:28 am
by GandalftheGray
I have been delving a little into the physics built into love, but I've run into a problem, even when copying and pasting the entire code from the page and running that. Everytime I try to run any program that has physics in it, the interpreter throws this error saying:
"attempt to index field 'physics' (a nil value)"

This happens even when I copy the code from the physics tutorial on the wiki. Thanks to anyone that helps!

Re: love.physics error

Posted: Sun Dec 28, 2014 4:37 am
by slime
Do you have the physics module disabled in your [wiki]conf.lua[/wiki]?

Re: love.physics error

Posted: Sun Dec 28, 2014 5:40 am
by GandalftheGray
Holy crap. I feel so dumb now :death: Thanks a lot, spent too my hours trying to figure that out for it to be that simple. wow.