Improve the Shape/Shape2D classes documentation

This commit is contained in:
Hugo Locurcio
2019-12-09 15:16:28 +01:00
parent 2ebc783e9c
commit 16d612dccc
8 changed files with 37 additions and 6 deletions

View File

@@ -19,6 +19,7 @@
Sets whether this collision shape should only detect collision on one side (top or bottom).
</member>
<member name="one_way_collision_margin" type="float" setter="set_one_way_collision_margin" getter="get_one_way_collision_margin" default="1.0">
The margin used for one-way collision (in pixels).
</member>
<member name="shape" type="Shape2D" setter="set_shape" getter="get_shape">
The actual shape owned by this collision shape.