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...
CylinderShape3D
繼承: Shape3D < Resource < RefCounted < Object
用於物理碰撞的 3D 圓柱體形狀。
說明
3D 膠囊形狀,旨在用於物理學。通常用於為 CollisionShape3D 提供形狀。
注意:圓柱體碰撞形狀有若干已知的問題。建議改用 CapsuleShape3D 或 BoxShape3D。
性能:CylinderShape3D 可以快速檢查碰撞,但比 CapsuleShape3D、BoxShape3D 和 CylinderShape3D 慢。
教學
屬性
|
||
|
屬性說明
圓柱體的高度。
圓柱體的半徑。