In my game, my character can equip a bow and arrow. What I want to do is the further you pull back the string, the faster the arrow projectile goes when you release. The strength of the pull back is a simple float that is handled in the character blueprint. What I want to do is cast the arrows construction script, where I can set the initial speed of the ‘projectile movement component’.
Problem is, the ‘get player character’ node that I have to plug into the cast for it to work is mysteriously missing, as well as ‘get player controller’. Why don’t these show up in the construction script? I tried working around this and simply setting the initial speed in the event graph set up to an event tick, but it just doesn’t work that way, it has to be set up in the construction script. But I seemingly can’t cast there with the nodes I normally use to set up a cast because they are gone.
What do I do? How do I get a cast to work in the projectiles construction script? Is the construction script even the correct way of handling it?