![]() ![]() For example, if the character is moving quickly, you could scale up the effect to make it more noticeable, and if the character is moving slowly or not at all, you could scale it down to make it less noticeable. This can help make the effect feel more natural and realistic, and avoid the issue of it being too distracting or noticeable.įinally, you could try using a script to adjust the scale of the muzzle flash effect based on the character’s movement. For example, you could gradually reduce the transparency of the effect over time, so that it gradually fades away instead of suddenly disappearing. This would allow you to have more control over the timing and duration of the effect, and avoid the issue of it persisting when it shouldn’t.Īnother option is to use a script to adjust the transparency of the muzzle flash effect as it dissipates. For example, you could have the effect only show up for a brief moment when the character fires their weapon, and then hide it when the character is moving or not firing. – I would love to use something other than a particle emitter to create the muzzle flash, I just don’t know what else could create the same effect.Īdditionally, you could try using a script to control the visibility of the muzzle flash effect. Changing the transparency of a particle emitter has to be done with a number sequence(kinda dumb) function muzzle_flash(shoot_part) –This is a function within my main gun code Try to make your topic as descriptive as possible, so that it’s easier for people to help you! When I stand still while shooting, the muzzle flash looks perfectly fine(Image 2), but if I were to move around while shooting(Jump, move side to side Image 1) the muzzle flash image doesn’t clear fast enough so you can see it appear multiple times which isn’t very realisticġ: I’ve tried to decrease the wait time(Code) which didn’t workĢ: Increasing the rate of the particle emitter and decreasing the lifetimeģ: Setting the rate to 1 and the lifetime to maximumĤ: Instead of changing the transparency I’ve tried to just enable and disable the particle emitter as a whole, which doesn’t work for some reasonĥ: I also tried looking for people with similar problems which resulted in nothing.Īfter that, you should include more details if you have any. I’m trying to create a muzzle flash effect for a pistol I’m making. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |