diff options
author | Anthony Cossins <1451668+anthonyec@users.noreply.github.com> | 2023-02-12 22:46:18 +0000 |
---|---|---|
committer | Anthony Cossins <1451668+anthonyec@users.noreply.github.com> | 2023-02-12 23:32:13 +0000 |
commit | ae282e9b7d06f97b2b228860525c67fcca36326c (patch) | |
tree | feefff1e32df5cb4ef9ed77fef820fbeff1e7a56 /servers/physics_server_3d.h | |
parent | 72c5b56d04f18c7ab078cb543d9dc68d05958d11 (diff) |
Fix return type for collide_shape to use PackedVector3Array
Diffstat (limited to 'servers/physics_server_3d.h')
-rw-r--r-- | servers/physics_server_3d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_server_3d.h b/servers/physics_server_3d.h index abf22e68a4..2c7ebeea66 100644 --- a/servers/physics_server_3d.h +++ b/servers/physics_server_3d.h @@ -125,7 +125,7 @@ private: TypedArray<Dictionary> _intersect_point(const Ref<PhysicsPointQueryParameters3D> &p_point_query, int p_max_results = 32); TypedArray<Dictionary> _intersect_shape(const Ref<PhysicsShapeQueryParameters3D> &p_shape_query, int p_max_results = 32); Vector<real_t> _cast_motion(const Ref<PhysicsShapeQueryParameters3D> &p_shape_query); - TypedArray<PackedVector2Array> _collide_shape(const Ref<PhysicsShapeQueryParameters3D> &p_shape_query, int p_max_results = 32); + TypedArray<PackedVector3Array> _collide_shape(const Ref<PhysicsShapeQueryParameters3D> &p_shape_query, int p_max_results = 32); Dictionary _get_rest_info(const Ref<PhysicsShapeQueryParameters3D> &p_shape_query); protected: |