How do I…
Make the fire action (of firebullet extension), take the speed from the object variable.
What is the expected result
When the bullet is fired, to go in that direction.
What is the actual result
The bullet is created, but without speed
Related screenshots
First the setup, I created a bullet object
And add Speed as object variable
Then when I want to shoot, I use “FireBullet” extension, action “Fire bullet towards an angle”.
If I change to static value, it works; but when I try to use the object variable, the bullet its created, but it doesn’t move
I don’t know if its because its an object that its not instantiated and I should use global variables or I still don’t understand object variables.
Thank you for your time.