EDIT Actually, I also have a question about setVelocity(). There seems to be some kind of upper limit on velocity. There seems to be no difference between 100 and 10000 when I use setVelocity. EDIT 2 I just realized you wanted the .love file. This leads me to yet another question. I already saw how ...
TribodyF is not defined until you press a key, yet the update function tries to set velocity based on it right away. If you want it to have a default value, put TribodyF = 0 or something in the load function. Also, keypressed only happens when a key is first pressed. if you want something to happen...
Do not use applyForce() or applyImpulse(). They are broken hard. I've reported the bug and sent a patch, but until it goes through, use setVelocity(). It is not broken, and it's possible to model acceleration and jerk using only setVelocity and the time increment. Aside from that, lejeaunerenard is...
I'm experimenting with LÖVE for the first time and I'm a little puzzled about this function. I see in the documentation that... love.physics.newPolygonShape( body, ... ) Synopsis polygon = love.physics.newPolygonShape( body, ... ) Arguments body The Body to attatch the polygon to. ... The vertices o...