Closed tokageD closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
ARKit doesn't support this interface, so the ARRaycastManager
uses a fallback implementation provided by AR Foundation. However, it can only raycast against things it knows about. To make it aware of feature points, add an ARPointCloudManager
to the ARSessionOrigin
.
Most of the AR managers "turn on" features, e.g., the ARPlaneManager
enables plane detection. However, ARKit always has feature points available internally, while AR Foundation is only aware of them if you "enable" them with the point cloud manager. This means that ARKit's native raycast method (using a screen point) can always use feature points, while AR Foundation can only use them if you enable the point cloud manager.
Thank you for detail information. I understand it ! Could you add information to ARFoundation documentation ? It helps developers to understand.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
About using ARRaycastManager.Raycast() in iOS. In case of using Ray (from Screen Pos direction to Camera) as the first argument, it doesn't work base on subsystem raycast (it means arkit raycast). Now it seems to work only based on ARFoundation's trackable raycast.
procedure
Change Update Function as bellow (change 1, change 2).
Actual behavior I think it should work the same for both argument ( Vector2 , Ray ).
Smartphone (please complete the following information):