|
Post by emmatheartist on May 11, 2022 17:01:04 GMT
I would like to take the pistol and make it shoot a doom imp style fire ball out of it in the same size and speed as in the gif. How can I achieve this with the FSM AI? To be clear the projectile would be 3d and not 2d.
|
|
|
Post by colonel on May 11, 2022 17:48:28 GMT
1. Locate projectile prefab used by AI and make a copy. 2. Attach a particle effect to the projectile copy. 3. Assign projectile copy to AI weapon being used.
** use copy of weapon on AI as well.
|
|
|
Post by emmatheartist on May 12, 2022 16:37:48 GMT
Thanks for your reply. Will this also control the speed the projectile is traveling?
|
|
|
Post by colonel on May 12, 2022 18:19:34 GMT
Thanks for your reply. Will this also control the speed the projectile is traveling? I believe on the weapon (vShooterWeapon script) there should be a “Velocity” value that can be adjusted. [Projectile tab]
|
|
|
Post by emmatheartist on May 13, 2022 1:45:15 GMT
Thats what I initially thought. The velocity makes the projectile curve to the ground and doesn't really make it slower. I'm trying to achieve the same projectile speed as the Doom imp in the gif.
|
|
|
Post by emmatheartist on May 13, 2022 6:22:23 GMT
Thanks for all your help, I figured it out. I had to just uncheck 'Use Gravity' in the rigid body component in the bullet. Much thanks for the help, I wouldn't of been able to figure it out otherwise lol.
|
|