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 和 SphereShape3D 慢。
教程
属性
|
||
|
属性说明
圆柱体的高度。
圆柱体的半径。