Topic was automatically imported from the old Question2Answer platform.
Asked By
SingingApple
Hey all, in this new game I am creating, I have a moving kinematicbody2d with a sprite( a red dot) attached. Is there any way I can create a trail behind the kinematicbody2d?
You can sort of cheat one, I took a bunch of Sprites and sets their position to the one in front of them every frame, that way you have some sort of a buffer for the later ones. I also changed their alpha channel in the modulate in visibility…
you can make it better by using more Sprites or having an array with a bigger range of delays
Could you provide some kind of code cause I couldn’t get it to work.
that is the code i use, the Ball node got 6 sprites on it and there is one buffer added, i update it every frame(would recommend updating every couple frames or something)