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.

CircleShape2D

Eredita: Shape2D < Resource < RefCounted < Object

Una forma di cerchio 2D utilizzata per le collisioni fisiche.

Descrizione

Una forma circolare 2D, progettata per l'uso in fisica. Solitamente utilizzata per fornire una forma per un CollisionShape2D.

Prestazioni: CircleShape2D è veloce per verificare le collisioni. È più veloce di RectangleShape2D e CapsuleShape2D.

Proprietà

float

radius

10.0


Descrizioni delle proprietà

float radius = 10.0 🔗

  • void set_radius(value: float)

  • float get_radius()

Il raggio del cerchio.