PhysicsShapeQueryResult

Refreshing Cache...

Inherits: Reference < Object

Result of a 3D shape query in PhysicsServer.

Description

The result of a 3D shape query in PhysicsServer. See also PhysicsShapeQueryParameters.

Method Descriptions

  • int get_result_count ( ) const

Returns the number of objects that intersected with the shape.


Returns the Object that intersected with the shape at index idx.


  • int get_result_object_id ( int idx ) const

Returns the instance ID of the Object that intersected with the shape at index idx.


  • int get_result_object_shape ( int idx ) const

Returns the child index of the object’s Shape that intersected with the shape at index idx.


  • RID get_result_rid ( int idx ) const

Returns the RID of the object that intersected with the shape at index idx.

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:36:27. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.