Download

Change projectile movement component settings in game?

Hello all, new to ue4.

I have a simple projectile blueprint, bare bones, and what I want to do is change it’s settings in game. For example, if you run through a triggerbox, the initial and max speed will be reduced. I was trying to do a cast to the projectile blueprint, but I couldn’t figure out what object type it was. Any help would be greatly appreciated :slight_smile:

if youre casting, you obv have to cast to the object type the projectile is. if your blueprint projectile is called BP_Projectile you cast for BP_Projectile and then you can drag out the nod and address the projectile movement component and change the values

Get a reference to the projectile, call the projectile movement component and you should be able to alter the variables inside.