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