I’m working on a prototype for a turn based RPG and I’m working on projectiles and am trying to make a grenade projectile that can be thrown at a target. I already have the projectile setup so that it will spawn and hit the intended target. (which is simply since both the launch position and target are fixed positions) All I’m looking to do is have it follow the curved arc, but I have been struggling to find a proper tutorial as they all seem to be based around throwing a grenade at a moving target (which I don’t need since the game is turn-based). I’ve been trying to make use of the suggest projectile velocity but my results either have arcing way to high in the air (that it takes several minutes actually to hit the target.) or it travels too fast I can’t even see it.
Does anyone have any suggestions of better methods to accomplish this or potentially what I might be doing wrong with SuggestProjectileVelocity?
This should be doable, if you bring us your SuggestProjectileVelocity code! Also it shouldn’t matter on the “Throwing a grenade at a moving target” thing, a target is a target, you just take out any extra math that predicts the path of a target.
Suggest Projectile velocity is focus on the speed,you can adjust the flying speed,but the arc is hard to control.(faster the speed is,straighter the line is).
if you want more control on the arc,you could use another one,called suggest projectile custom arc,which you can adjust the arc on it.
But the speed is fixed.
And another way is like they said.
Make a timeline animation for it.
That way you can fully control the arc and speed.