Help Please to attach Ribbon trail with good direction
I have a blueprint class with a particule trail attached with socket to my projectile mesh
I have a blueprint character which spawn my particule when i fire.
I see when i fire the ribbon follow the projectile mesh but the ribbon origin point is not the muzzle of my weapon. (my projectile spawn in the muzzle of my weapon)
I try to spawn a particule ribbon trail in my character class, It works ! but the ribbon isn’t attached to my projectile mesh.
Can someone help me please to do it with bluepprint
I had this problem too. I guess it’s because Ribbon doesn’t spawn big enough particles right when it’s created. I solved it by delaying movement by 2 or 3 frames, so the bullet stands still 3 frames before moving forward.
In my “bullet” blueprint I have a variable “Delay Movement” which holds a number of “how many frames should I wait”. Let’s say it’s ‘3’. Each frame I’m decreasing this number by 1 and checking if “Delay Movement” is equal to 0. If it is, then run the movement functions.
If there is another way to properly solve this, then let me know
Screenshot of my solution below, in my case variable is called “Life Frame”. Additionally I’m changing bullet’s location to stay near player in case our player is moving really fast. All of it is attached to the Tick Event (happens every frame).
I’m having this problem as well, and delaying the shot by a few frames is far from ideal, especially in a fast-paced game.
Even activating the checkbox for “spawn initial particle” seems to do absolutely nothing.
The ribbon trail seems to have an actual delay before activating. If the projectile hits a surface and deactivates before the ribbon would normally appear, the ribbon never appears at all.
Give the ribbon’s particle system a very short warm-up time. If your ribbon’s spawn rate is 20/s, give it a warm-up of like 0.06 seconds. This will cause the first particle to have already spawned at the system’s origin when the component is activated.