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...
CapsuleShape2D¶
继承: Shape2D < Resource < RefCounted < Object
用于物理碰撞的 2D 胶囊形状。
描述¶
2D 胶囊形状,旨在用于物理学。通常用于为 CollisionShape2D 提供形状。
性能:CapsuleShape2D 可以快速检查碰撞,但比 RectangleShape2D 和 CircleShape2D 慢。
属性¶
|
||
|
属性说明¶
胶囊体的高度。
胶囊体的半径。