love.physics error

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
GandalftheGray
Prole
Posts: 6
Joined: Mon Dec 22, 2014 12:43 am

love.physics error

Post 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!
User avatar
slime
Solid Snayke
Posts: 3166
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: love.physics error

Post by slime »

Do you have the physics module disabled in your [wiki]conf.lua[/wiki]?
GandalftheGray
Prole
Posts: 6
Joined: Mon Dec 22, 2014 12:43 am

Re: love.physics error

Post 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.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 9 guests