godot-ios-plugins icon indicating copy to clipboard operation
godot-ios-plugins copied to clipboard

Update ARKit for Godot 4.3

Open celyk opened this issue 10 months ago • 3 comments

Continues #64

So far I tried to do the minimum amount of work to get this working in Godot 4.x. We should consider porting it to a GDExtension as mux213 suggested

https://github.com/user-attachments/assets/905866e3-12df-4f50-930d-ba912c65289e

Demo project https://github.com/celyk/godot_xr_test_projects/tree/master/ARKit

What's working

  • Basic AR
  • Screen orientations (provided feed_transform is used to adjust the camera feed)
  • Anchor positions
  • Anchor plane mesh
  • ARKit hitTest for touching anchors

What's not working

  • With background_camera_feed_id set color and orientation are wrong
  • Standard Godot ray intersect (Wrong camera FOV?)

celyk avatar Feb 20 '25 09:02 celyk

I´m also interested in this being merged.

RubenGarcia avatar Apr 16 '25 11:04 RubenGarcia

I merged this into #64. If you do any extra work, I'll merge it over there and I'll try to coordinate with people to get this released. Great work!

Makosai avatar Apr 25 '25 12:04 Makosai

I'm working on porting this to GDExtension and will continue development there. https://github.com/celyk/godot_arkit

It's already on par with this except that I can't quite setup the CameraFeed properly yet (because set_ycbcr_images is not exposed).

celyk avatar Sep 22 '25 08:09 celyk