You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Fix angular velocity default value in TileSet
Value was uninitialized, which lead to undefined behavior.
This commit is contained in:
@@ -646,7 +646,7 @@ private:
|
||||
};
|
||||
|
||||
Vector2 linear_velocity;
|
||||
float angular_velocity;
|
||||
float angular_velocity = 0.0;
|
||||
Vector<PolygonShapeTileData> polygons;
|
||||
};
|
||||
Vector<PhysicsLayerTileData> physics;
|
||||
|
||||
Reference in New Issue
Block a user