Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Maybe try the set function? I suspect trying to set the property from GDScript could be causing the issue, so maybe doing something like set(“bones”, bone_array) instead of directly modifying the property would fix it since then it would go through Godot’s object setter system. I know that’s how you can set C# properties via GDScript so I’m hoping that will work here too.

(1 edit)

Also, I don’t think you set the bone weight on the Bone2D itself but instead set it on the polygon2d. The Bone2D class doesn’t have a bones property, but the Polygon2D class does and I think modifying it should fix it.

Unless you are already doing that, in which case please disregard this!