2022-03-15 13:29:32 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-08-26 22:41:21 +02:00
|
|
|
<class name="BoxShape" inherits="Shape" version="4.1">
|
2022-03-15 13:29:32 +01:00
|
|
|
<brief_description>
|
|
|
|
Box shape resource.
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
3D box shape that can be a child of a [PhysicsBody] or [Area].
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
<link title="3D Physics Tests Demo">https://godotengine.org/asset-library/asset/675</link>
|
|
|
|
<link title="3D Kinematic Character Demo">https://godotengine.org/asset-library/asset/126</link>
|
|
|
|
<link title="3D Platformer Demo">https://godotengine.org/asset-library/asset/125</link>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
</methods>
|
|
|
|
<members>
|
|
|
|
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3( 1, 1, 1 )">
|
|
|
|
The box's half extents. The width, height and depth of this shape is twice the half extents.
|
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|