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
Смотрите видео Using a Polygon2D node to create physics bodies in Godot онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь The Shaggy Dev 11 Октябрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 14,460 раз и оно понравилось 274 людям.