Please, I wanna more explanation about SuggestProjectileVelocity ?
For what this method should be used ? What is the output ?
GetSafeNormal() !! What is that method ?
Please, I wanna more explanation about SuggestProjectileVelocity ?
For what this method should be used ? What is the output ?
GetSafeNormal() !! What is that method ?
It’s used to calculate the velocity needed to throw a projectile at a given target given certain parameters (start location, end location, speed, etc.)
It returns true/false whether it was able to find a solution.
Gets a normalized copy of the vector, checking it is safe to do so based on the length. Returns zero vector if vector length is too small to safely normalize.
Normalising a vector would be to get the vector with the same direction but with a length of 1.
Thank for your answer
It returns true/false whether it was able to find a solution.
What is that cases that may return false ?
That it wasn’t able to find a solution for the parameters given.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.