Using a Polygon2D node to create physics bodies in Godot

Published: 11 October 2021
on channel: The Shaggy Dev
14,460
274

In this video, I'll demonstrate how you can use the Polygon2D node to create both static and rigid physics bodies in Godot. This method allows us to create more custom level geometries than we could otherwise get out of a tilemap, but also let's us iterate on designs faster than making an object outside of the editor.

Source code: https://github.com/theshaggydev/the-s...

Transcript: https://shaggydev.com/2021/10/11/poly...

Godot Bordered Polygon2D Plugin: https://github.com/arypbatista/godot-...

Intro: 00:00
The Polygon2D node: 00:51
Project setup: 01:48
The static body scene: 02:26
The rigid body scene: 03:01
Results: 05:00
Final thoughts: 05:22


Watch video Using a Polygon2D node to create physics bodies in Godot online, duration hours minute second in high quality that is uploaded to the channel The Shaggy Dev 11 October 2021. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 14,460 times and liked it 274 visitors.