Hi everyone!
I have an issue with suggestProjectileVelocity node. I have a target, and I put it’s world location to target location in this node. Initial speed is 10000 (this is 100 meters/sec, am I right?) Gravity scale is 0.5 both in this node and in projectile parameters. But result is quite strange, see screenshot:
What’s the distance to target?
Why are you using “suggestProjectileVelocity” vs calculating it yourself?
SuggestProjectileVelocity only calcs the velocity needed to get to target. It doesn’t calculate a trajectory. You have to manually adjust rotation to hit the transform location.
verbatim … Calculates an launch velocity for a projectile to hit a specified point.
fwiw, that’s incorrect, SuggestProjectileVelocity and SuggestProjectileVelocityCustomArc both give you a vector, which is a direction and a velocity. SuggestProjectileVelocity does seem to be utterly broken except within very narrow parameters, but the CustomArc version seems to work well. (though it has no support for tracing the path, like SuggestProjectileVelocity does)
Yes, you are right. My mistake was that I expected the function suggests initial speed. The SuggestProjectileVelocityCustomArc works as needed for my case