0.2.0-dev Download ZIP
20 lines ·1.1 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="BoxShape3D" inherits="Shape3D" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | A 3D box shape used for physics collision. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | A 3D box shape, intended for use in physics. Usually used to provide a shape for a [CollisionShape3D]. |
| 8 | [b]Performance:[/b] [BoxShape3D] is fast to check collisions against. It is faster than [CapsuleShape3D] and [CylinderShape3D], but slower than [SphereShape3D]. |
| 9 | </description> |
| 10 | <tutorials> |
| 11 | <link title="3D Physics Tests Demo">https://godotengine.org/asset-library/asset/2747</link> |
| 12 | <link title="3D Kinematic Character Demo">https://godotengine.org/asset-library/asset/2739</link> |
| 13 | <link title="3D Platformer Demo">https://godotengine.org/asset-library/asset/2748</link> |
| 14 | </tutorials> |
| 15 | <members> |
| 16 | <member name="size" type="Vector3" setter="set_size" getter="get_size" default="Vector3(1, 1, 1)"> |
| 17 | The box's width, height and depth. |
| 18 | </member> |
| 19 | </members> |
| 20 | </class> |