浏览代码

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

Rémi Verschelde 4 年之前
父节点
当前提交
d1c20130e8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;