Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
BoxShape3D
繼承: Shape3D < Resource < RefCounted < Object
用於物理碰撞的 3D 盒形資源。
說明
3D 盒子形狀,旨在用於物理學。通常用於為 CollisionShape3D 提供形狀。
性能:BoxShape3D 可以快速偵測碰撞,比 CapsuleShape3D 和 CylinderShape3D 快,但比 SphereShape3D 慢。
教學
屬性
|
屬性說明
Vector3 size = Vector3(1, 1, 1) 🔗
該盒子的寬度、高度和深度。