
5.9: Box2D Joints: Revolute Joint - The Nature of Code
The Coding Train, 6 min, 15.2K views, Aug 6, 2015
Chapters
Show descriptionHide description
This video introduces the concept of joints in Box2D and demonstrates how to create a revolute joint. Code: https://thecodingtrain.com/tracks/physics-libraries/physics-libraries/box2d/9-revolute-joints š¹ļø p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/Yavir3em0 š„ Previous: https://youtu.be/4LYvltd07hk š„ Next: https://youtu.be/Ubfqc983jN8 References: š Nature of Code: https://natureofcode.com š Nature of Code Processing Examples: https://github.com/nature-of-code/noc-examples-processing/tree/master/chp05_physicslibraries/box2d/NOC_5_5_MultiShapes š Box2D: https://box2d.org š JBox2d: https://github.com/jbox2d/jbox2d Timestamps: 0:00 Hello again 0:32 Revolute joints bind bodies at a singular anchor point 1:21 Revolute joint parameters 3:02 Look at the code example 3:58 Windmill class 4:30 Anchor point 5:51 Outro Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound š Website: https://thecodingtrain.com/ š¾ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide š© Suggest Topics: https://github.com/CodingTrain/Suggestion-Box š” GitHub: https://github.com/CodingTrain š¬ Discord: https://thecodingtrain.com/discord š Membership: http://youtube.com/thecodingtrain/join š Store: https://standard.tv/codingtrain šļø Twitter: https://twitter.com/thecodingtrain šø Instagram: https://www.instagram.com/the.coding.train/ š„ https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH š„ https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA š p5.js: https://p5js.org š p5.js Web Editor: https://editor.p5js.org/ š Processing: https://processing.org š Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new #box2d #physicsengine #revolutejoint #processing