Friction Joint

Create a friction joint between two bodies. A FrictionJoint applies friction to a body.

https://love2d.org/wiki/love.physics.newFrictionJoint

Below are links to a demo and use case

The following Keys make some changes:
Cursor keys
W,S,A,D keys
I,K,J,L keys
space bar, enter keys


Have fun!



Love2D Friction Joint Demo



http://www.mediafire.com/file/3g2k5m5c4t1ipu1/Box2DJointFrictionDemo.zip/file






Love2D Friction Joint Use Case



 http://www.mediafire.com/file/lcpsk4wkzh8v24c/Box2DJointFrictionUseCase.zip/file

Note: the little box acts as a constant resistance to the arrow

Comments

Popular posts from this blog

Distance Joint