Today's lesson is on TArrays! This is a direct sequel to the previous tutorial, so go ahead and watch that one first!
READ ME!! So it turns out there is a function that can find the maximum value of a float array hidden inside of UKismetMathLibrary. Whoops... Oh well we learned about lambdas and indexing anyway though.
https://docs.unrealengine.com/latest/...
Previous Tutorial: • Unreal Engine C++ Training Series - Pointers
TArray: https://docs.unrealengine.com/latest/...
Lambdas: http://en.cppreference.com/w/cpp/lang...
Range-Based-For: http://en.cppreference.com/w/cpp/lang...
Dot Product: https://en.wikipedia.org/wiki/Dot_pro...
Subscribe! / normalishsoftware