Browse Source

Merge pull request #53279 from nekomatata/fix-tilemap-angular-velocity

Rémi Verschelde 3 years ago
parent
commit
d1c20130e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/resources/tile_set.h

+ 1 - 1
scene/resources/tile_set.h

@@ -646,7 +646,7 @@ private:
 		};
 
 		Vector2 linear_velocity;
-		float angular_velocity;
+		float angular_velocity = 0.0;
 		Vector<PolygonShapeTileData> polygons;
 	};
 	Vector<PhysicsLayerTileData> physics;