Deepwatch

Keyboard shortcuts

Space or k
Play or pause
j and l
Back or forward 10 seconds
Left and right arrows
Back or forward 5 seconds
f
Fullscreen
m
Mute or unmute
Shift and < or >
Slower or faster
?
Show or hide this list

5.9: Box2D Joints: Revolute Joint - The Nature of Code

The Coding Train, 6 min, 15.2K views, Aug 6, 2015

Chapters

Show 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

When you're done