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...
PhysicsIntersectPointResult3D
Hérite de : RefCounted < Object
Stores the results of a point intersection query.
Description
This class contains the intersection information produced by PhysicsDirectSpaceState3D.intersect_point_into().
It stores up to a user-defined number of overlapping shapes.
Note: For optimal performance results, it is recommended to create this object in advance, store it, and reuse it for every subsequent query.
Propriétés
|
Méthodes
get_collider(intersection_index: int) const |
|
get_collider_id(intersection_index: int) const |
|
get_collider_rid(intersection_index: int) const |
|
get_collider_shape(intersection_index: int) const |
|
get_intersection_count() const |
Descriptions des propriétés
The maximum number of intersections this result object can store.
Descriptions des méthodes
Object get_collider(intersection_index: int) const 🔗
The colliding object.
int get_collider_id(intersection_index: int) const 🔗
The colliding object's ID.
RID get_collider_rid(intersection_index: int) const 🔗
The intersecting object's RID.
int get_collider_shape(intersection_index: int) const 🔗
The shape index of the colliding shape.
int get_intersection_count() const 🔗
Returns the number of shapes that intersect the queried point.