5.11: Applying forces in Box2D - The Nature of Code
This video demonstrates how to apply forces to objects in Box2D. Simple wind and gravitational attraction are demonstrated.
Read along: http://natureofcode.com/book/chapter-5-physics-libraries/#chapter05_section12
https://github.com/shiffman/The-Nature-of-Code-Examples/tree/master/Processing/chp5_physicslibraries/box2d/Exercise_5_10_ApplyForceSimpleWind
https://github.com/shiffman/The-Nature-of-Code-Examples/tree/master/Processing/chp5_physicslibraries/box2d/Exercise_5_10_ApplyForceAttractMouse
https://github.com/shiffman/The-Nature-of-Code-Examples/tree/master/Processing/chp5_physicslibraries/box2d/Exercise_5_10_AttractionApplyForce
Help us caption & translate this video!
http://amara.org/v/Qbvq/
📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct