5.7: Complex Shapes in Box2D - The Nature of Code

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=V95dzuDw0Jg



Duration: 12:13
18,925 views
286


This video covers how to create shapes beyond rectangles and circles in Box2D using PolygonShape and by attaching multiple shapes to one body.

Read along: http://natureofcode.com/book/chapter-5-physics-libraries/#chapter05_section10

https://github.com/shiffman/The-Nature-of-Code-Examples/tree/master/Processing/chp5_physicslibraries/box2d/NOC_5_4_Polygons
https://github.com/shiffman/The-Nature-of-Code-Examples/tree/master/Processing/chp5_physicslibraries/box2d/NOC_5_5_MultiShapes

Help us caption & translate this video!

http://amara.org/v/Qbvu/

📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct




Other Videos By The Coding Train


2015-08-086.3: Steering Behaviors: Arrive - The Nature of Code
2015-08-086.6: Steering Behaviors: Path Following - The Nature of Code
2015-08-086.4: Steering Behaviors: Flow FIeld Following - The Nature of Code
2015-08-086.5: Vectors: Dot Product and Scalar Projection - The Nature of Code
2015-08-086.8: Combining Steering Behaviors: Flocking - The Nature of Code
2015-08-086.1: Autonomous Agents and Steering - The Nature of Code
2015-08-075.13: What is Toxiclibs Verlet Physics? - The Nature of Code
2015-08-075.15: Connected Systems with Toxiclibs VerletPhysics - The Nature of Code
2015-08-075.14: Toxiclibs Verlet Physics Basics: Particles and Springs - The Nature of Code
2015-08-075.16: Attraction Behaviors in Toxiclibs VerletPhysics - The Nature of Code
2015-08-065.7: Complex Shapes in Box2D - The Nature of Code
2015-08-065.5: Adding Box2D to Processing Sketch Part 2 - The Nature of Code
2015-08-065.8: Box2D Joints: Distance Joint - The Nature of Code
2015-08-065.11: Applying forces in Box2D - The Nature of Code
2015-08-065.4: Adding Box2D to Processing Sketch Part 1 - The Nature of Code
2015-08-065.1: Introduction to Box2D - The Nature of Code
2015-08-065.9: Box2D Joints: Revolute Joint - The Nature of Code
2015-08-065.2: What makes up a Box2D world? - The Nature of Code
2015-08-065.10: User Controlled Objects: Mouse Joint and Kinematic Type - The Nature of Code
2015-08-065.3: Box2D Coordinates and Vectors - The Nature of Code
2015-08-065.6: Static Bodies and Chain Shapes in Box2D - The Nature of Code



Tags:
nature of code
processing.org
physics
box2d
polygonshape