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)
该盒子的宽度、高度和深度。