So I made bullet tracers from a long cylinder with a glowing material. The design is simple as just attach the tracer shooting component on the muzzle of the gun and shoot forward. I made a Niagara effects and an actor projectile version. I have some questions and need help with answers for both but if you can only answer one then that is fine too.
Questions about Niarage vs moving actor methods:
- Is the Niagara effects tracer method more efficient as running on the GPU than using a normal moving actor tracer which I assume is running on the CPU? I say less efficient as if multiple bullets flying on screen, the moving actor tracer version may face bottleneck right?
- For the Niagara effects tracer, I know they don’t really interact with the world as it is mainly superficial, thus why I have a line trace for damage. But I need the Niagara tracer to disappear when hit something so I add and use a ‘collision’ module in the Niagara system graph node but it says it’s using a CPU ray trace? Does it make this method overall still more efficient than the actor tracer method or no difference?
- For the moving actor tracer, is it better or more efficient to use a blueprint to make it move or the ProjectileMovement component?
Questions about tracer flickering at high speeds
- For both Niagara effects and moving actor tracer methods, both tracers moving at high speeds have this flickering effect and I need help to get rid of it but don’t know how.
- Here is a google drive vid link of normal tracers when their speed is small with the value set to 5,000 (each unit is apparently 1 cm to 5000cm/s is 50m/s). As you can see the tracer look normal as the tip of the tracer up close never goes past the center of the screen and just shrinks.
- Here is a google drive vid link of normal tracers when their speed is small with the value set to 30,000 or 300m/s. And the tracers still looks normal as the tip of the tracer up close never goes past the center of the screen and just shrinks
- Here is avid link and pic of normal tracers when their speed is small with the value set to 50,000 or 500m/s. And the tracers has this ghosting flickering effect as you can see the tip of this tracer DOES goes past the center of the screen and then everything shrinks in the distance.
-
- imgur link (interesting only imgur upload can see it and not google drive upload)
- google drive link (here you can’t see it, wonder if google drive compress the 60 fps vid and thus can’t see the effect. Like I can see how compressing removes it but doesn’t solve the main issue why it appears in the first place
- pics of each frame
- My question is why this happen and how to fix it, or is this an innate issue with unreal and the only solution to make it slower?