I want to touch a distant object

Currently, you can pinch to interact with distant objects, but you cannot touch them with your index finger to interact with them

I want to swipe with my index finger and rotate a distant object in the direction of the swipe.
I would like to know how to do this.

You could accomplish this in one of two ways.

  1. Use ARKit hand tracking and estimate the object they are looking at using the pose (requires an unbounded app for ARKit features) then calculate the swipe gesture yourself
  2. Setup a collider near the user they can interact with that will register input and then translate that to a distant object.

There is no “finger swipe gesture” and the OS requires an object with a collider to be interacted with (direct or indirect) in order to register input. There is no way to know what object the user is looking at until input is registered.

Thank you for your reply
If possible, can you give me the specific execution and code?

i feel like a mid/high level interaction framework is needed for XR hands - this is what Leap Unity plugin (and MRTK) provided but getting them to work with Polyspatial is nontrivial