Browse Source

Clarify that 2D cell sizes are defined in pixels

See https://github.com/godotengine/godot/issues/40577#issuecomment-662329021.

(cherry picked from commit f83249f224f4957871e390407a6d58c39c94c530)
Hugo Locurcio 5 years ago
parent
commit
34a0af8343
1 changed files with 2 additions and 2 deletions
  1. 2 2
      doc/classes/ProjectSettings.xml

+ 2 - 2
doc/classes/ProjectSettings.xml

@@ -892,7 +892,7 @@
 			Size of the hash table used for the broad-phase 2D hash grid algorithm.
 			Size of the hash table used for the broad-phase 2D hash grid algorithm.
 		</member>
 		</member>
 		<member name="physics/2d/cell_size" type="int" setter="" getter="" default="128">
 		<member name="physics/2d/cell_size" type="int" setter="" getter="" default="128">
-			Cell size used for the broad-phase 2D hash grid algorithm.
+			Cell size used for the broad-phase 2D hash grid algorithm (in pixels).
 		</member>
 		</member>
 		<member name="physics/2d/default_angular_damp" type="float" setter="" getter="" default="1.0">
 		<member name="physics/2d/default_angular_damp" type="float" setter="" getter="" default="1.0">
 			The default angular damp in 2D.
 			The default angular damp in 2D.
@@ -1205,7 +1205,7 @@
 			If [code]true[/code], the texture importer will import VRAM-compressed textures using the S3 Texture Compression algorithm. This algorithm is only supported on desktop platforms and consoles.
 			If [code]true[/code], the texture importer will import VRAM-compressed textures using the S3 Texture Compression algorithm. This algorithm is only supported on desktop platforms and consoles.
 		</member>
 		</member>
 		<member name="world/2d/cell_size" type="int" setter="" getter="" default="100">
 		<member name="world/2d/cell_size" type="int" setter="" getter="" default="100">
-			Cell size used for the 2D hash grid that [VisibilityNotifier2D] uses.
+			Cell size used for the 2D hash grid that [VisibilityNotifier2D] uses (in pixels).
 		</member>
 		</member>
 	</members>
 	</members>
 	<constants>
 	<constants>