Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

List.Max Vector3 issue with retrieving whole input

$
0
0
Hello, Just started using System.Linq, and I know it's taking me in the right direction.. just don't quite know how I would go about approaching this... I currently am using the X and Y values of a Vector3, with the Z value being equal to a different number from a different calculation. I want to be able to find the highest Z value and then find the corresponding X + Y coordinate. To reiterate; my problem is not getting a single value; it's getting the highest Z value in a Vector3, and then the actual Vector3 it corresponds to.

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>