Add mid height property to CapsuleShape2D/3D
This commit is contained in:
@ -11,7 +11,10 @@
|
||||
</tutorials>
|
||||
<members>
|
||||
<member name="height" type="float" setter="set_height" getter="get_height" default="30.0">
|
||||
The capsule's height.
|
||||
The capsule's full height, including the semicircles.
|
||||
</member>
|
||||
<member name="mid_height" type="float" setter="set_mid_height" getter="get_mid_height">
|
||||
The capsule's height, excluding the semicircles. This is the height of the central rectangular part in the middle of the capsule, and is the distance between the centers of the two semicircles. This is a wrapper for [member height].
|
||||
</member>
|
||||
<member name="radius" type="float" setter="set_radius" getter="get_radius" default="10.0">
|
||||
The capsule's radius.
|
||||
|
||||
Reference in New Issue
Block a user