Comments and answers for "Calculating triangle side length based on hypotenuse?"
http://answers.unity.com/questions/24211/calculating-triangle-side-length-based-on-hypotenu.html
The latest comments and answers for the question "Calculating triangle side length based on hypotenuse?"Answer by Mike 3
http://answers.unity.com/answers/24218/view.html
<p>Not entirely sure what the issue is here - you're scaling the triangle, can't you just scale the values too?</p>
<p>Multiply the values from the left triangle by 30/58.0 (Hypotenuse2/Hypotenuse1) and you get the right triangle values</p>
<p>Example using the standard 3 4 5 triangle:</p>
<p>1) Hypotenuse: 5, Opposite: 3, Adjacent: 4</p>
<p>2) Hypotenuse: 10</p>
<p>To get the Opposite and Adjacent values:</p>
<p>Opposite = 3 * 10/5 = 6</p>
<p>Adjacent = 4 * 10/5 = 8</p>
<p>Which matches with a 6 8 10 triangle like you'd expect</p>Thu, 05 Aug 2010 15:07:51 GMTMike 3Comment by DavidB
http://answers.unity.com/comments/79853/view.html
I'm having trouble figuring out what your code is doing exactly.. what is this Ball? and what is $$anonymous$$oveDist? Trig can be a bit wonky, but if you can give us a better sense of your code I can definitely help you solve this one.
In general terms you say you know all of the original sides of the triangle... and thus can find Theta (the angle of the triangle between the adjacent and hypotenuse). $$anonymous$$ake use of SOH CAH TOA (Sin(Theta) = opposite/hypotenuse etc) to find Theta for the original triangle, and then scale it appropriately... and use the Hypotenuse length and this known Theta to clone the triThu, 05 Aug 2010 15:05:52 GMTDavidBComment by ROM
http://answers.unity.com/comments/79843/view.html
I'm not using vectors so unfortunately that will not work. I tried your solution. The results are above. I'm sure I've done something wrong ^-^Thu, 05 Aug 2010 14:40:58 GMTROMComment by spinaljack
http://answers.unity.com/comments/79839/view.html
This is pretty basic, if you know the angle of the triangle you can use trigonometry to find the other sides or if you're using vectors it's a simple case of subtraction. What script did you use to get that error?Thu, 05 Aug 2010 14:18:25 GMTspinaljack