CapsuleShape.xml 782 B

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="CapsuleShape" inherits="Shape" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Capsule shape for collisions.
  5. </brief_description>
  6. <description>
  7. Capsule shape for collisions.
  8. </description>
  9. <tutorials>
  10. <link title="3D Physics Tests Demo">https://godotengine.org/asset-library/asset/675</link>
  11. </tutorials>
  12. <methods>
  13. </methods>
  14. <members>
  15. <member name="height" type="float" setter="set_height" getter="get_height" default="1.0">
  16. The capsule's height.
  17. </member>
  18. <member name="radius" type="float" setter="set_radius" getter="get_radius" default="1.0">
  19. The capsule's radius.
  20. </member>
  21. </members>
  22. <constants>
  23. </constants>
  24. </class>