Hi.
How to make a bullet fly using “FireBullet”?
The documentation states that you need to specify the coordinates for creating the bullet, the object of the bullet, the angle of the bullet, and the flight speed.
https://wiki.gdevelop.io/gdevelop5/extensions/fire-bullet/details/#fire-in-a-given-direction
I specified all these parameters and applied them to the button, but when I click on the button, nothing happens.
You are firing bullet from bullet
Since bullet does not exist you are tying to create object from object which does not exist
Fire bullet from gun
1 Like
You’re right, thank you.
I was sure that this rule should be applied to the bullet, but in fact it should be applied to the gun.
Everything worked out for me
You know
It literally says fire FROM
Anyway i did it also when i did it my 1st time
1 Like