Closed reedv closed 7 years ago
for now, I think it would be good to raise the reference point by 50-100%
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.
maybe use StoppedDragging action event to use the last ridgidbody velocity and direction of the handdragged object to launch