Hi Yall, I have an issue with the projectile movement component + function/ construction script.
I have created a function and a variable to change the initial speed of the projectile movement and hooked it to the construction script,
However, when i try to change the variable speed dynamically in the editor it simply doesn’t work nor does allow me to change it. Attaching the images of the setup
As far as I can understand, you are trying to set the Initial Speed in the projectile’s construction script.
The part you are missing is setting the Max Speed as well in the same place. You need to do that or the current Max Speed value (0.0) will override the projectile’s speed.
Are you setting the Max Speed anywhere else? If not, try to do it in the same construction script and let me know if that worked!