reedv / 3D-Holo-Golf

Augmented reality beer pong with the Microsoft Hololens
0 stars 1 forks source link

try getting rid of need for reference lauunch point (natural tossing) #6

Closed reedv closed 7 years ago

reedv commented 7 years ago

maybe use StoppedDragging action event to use the last ridgidbody velocity and direction of the handdragged object to launch

reedv commented 7 years ago

for now, I think it would be good to raise the reference point by 50-100%

reedv commented 7 years ago

Natural tossing produced difficulties from the fact that the gesture recognizer was not always accurate, so would end up with ball thinking it was still being dragged when the users had actually un-pinched. Workaround was to instead keep reference point slingshot method and add a trajectory prediction line. Kept the file were I tested natural dragging (ProjectileShooter_HandDragging_Test.cs) for later reference if needed.