Set the Amplitude


(Amir Habibi) #1

How to set the amplitude of a vector ? c#

Thanks in advance
_Amir


(Michael Pryor) #2

//make vector length 1
vec.Unitize();
//multiply by amplitude.
vec *= 10.00;