PlaneShape.xml 757 B

1234567891011121314151617181920
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="PlaneShape" inherits="Shape" version="3.2">
  3. <brief_description>
  4. Infinite plane shape for 3D collisions.
  5. </brief_description>
  6. <description>
  7. An infinite plane shape for 3D collisions. Note that the [Plane]'s normal matters; anything "below" the plane will collide with it. If the [PlaneShape] is used in a [PhysicsBody], it will cause colliding objects placed "below" it to teleport "above" the plane.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. </methods>
  13. <members>
  14. <member name="plane" type="Plane" setter="set_plane" getter="get_plane" default="Plane( 0, 1, 0, 0 )">
  15. The [Plane] used by the [PlaneShape] for collision.
  16. </member>
  17. </members>
  18. <constants>
  19. </constants>
  20. </class>