Grabbing a cube

Hello everyone,

I am new to Unity but I played already with it. I just learned how to spawn a cube in unity AR on android platform but now I want to be able to grab the cube with my hand without the touchscreen of my phone but just with my fingers in real life. Anybody knows how to do this? I’ve searched a lot online but a lot of them are just manipulating the object via the touchscreen of their phone and not directly in the real life world (in front of the camera).

Thanks in advance!

Kind regards,
usb-g

I know Lightship has some sort of hand tracking. Havent used it much however.

You might need to add custom support for it. Here are some examples: GitHub - chenjd/Unity-ARFoundation-HandDetection: Hand Detection and Tracking with Unity ARFoundation and CoreML.
GitHub - ogoguel/realtimehand: Realtime Hand Tracking Unity Package

To add to what dev dunk is saying, you’re going to need to implement a form of “hand tracking” that will allow your phone to be able to track and recognize your hand and it’s actions, this then can allow you to interact with objects in the AR space with your hands.

1 Like