reedv / 3D-Holo-Golf

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

have balls detect and handel being in freefall out of spatial mesh #25

Closed reedv closed 7 years ago

reedv commented 7 years ago

ProjectileShooter.cs now tracks difference between launchedHeight and currentHeight and resets projectile when the difference exceeds a fixed threshold.

Used the solution reached at the end of this forum: https://forum.unity3d.com/threads/detecting-if-an-object-is-falling-solved.48168/