mirror of
https://github.com/godotengine/godot
synced 2024-11-05 16:53:09 +00:00
c83718624f
Update links to outdated asset library demos Co-authored-by: Max Hilbrunner <m.hilbrunner@gmail.com>
20 lines
1 KiB
XML
20 lines
1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="BoxShape3D" inherits="Shape3D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
A 3D box shape used for physics collision.
|
|
</brief_description>
|
|
<description>
|
|
A 3D box shape, intended for use in physics. Usually used to provide a shape for a [CollisionShape3D].
|
|
[b]Performance:[/b] [BoxShape3D] is fast to check collisions against. It is faster than [CapsuleShape3D] and [CylinderShape3D], but slower than [SphereShape3D].
|
|
</description>
|
|
<tutorials>
|
|
<link title="3D Physics Tests Demo">https://godotengine.org/asset-library/asset/2747</link>
|
|
<link title="3D Kinematic Character Demo">https://godotengine.org/asset-library/asset/2739</link>
|
|
<link title="3D Platformer Demo">https://godotengine.org/asset-library/asset/2748</link>
|
|
</tutorials>
|
|
<members>
|
|
<member name="size" type="Vector3" setter="set_size" getter="get_size" default="Vector3(1, 1, 1)">
|
|
The box's width, height and depth.
|
|
</member>
|
|
</members>
|
|
</class>
|