Open cqtan opened 6 years ago
Slight change to the way objects are grabbed. Instead of raycasting from the hand, the ray origins from the camera, i.e. the user's headmotion instead. Reason for this are:
Now the user can simply look at the object, it will be outlined with a yellow-ish border and the user can perform a 1-handed grab gesture anywhere in the tracking field of the Leap to reposition the object. The distance of the object will be handled in the next ticket (#15).
Instead of doing a collision with hand and furniture, another idea that includes raycasting as a way to manipulate objects further away is made. By outlining furniture that the user targets with raycasting from 1 hand, it becomes visibly clear what the user is targeting. While the ray collides with the furniture and the user performs and holds the grab gesture, the furniture is attached to the point of collision, making the furniture move with the ray in relation to the distance of the hand.