
Originally Posted by
BlackShipsFillt
I don't know much about trails... the way my weapon trail works is that it calculates the mesh once per frame (rebuilds from scratch... which maybe could be optimized)... but it samples the position of of the weapon many times each frame (and adds the information to a list) in order to get a smooth trail... I did at a previous point lazily rebuild the entire mesh everytime I sampled the animation, that even slowed down my Imac, not to mention the iPad.
Is this what you mean by indices? I'm getting surprisingly decent results right now, but I'm sure there is room for optimization.
I'm also going to be recoding the lightning trail... the default Unity Line renderer is not producing quite the results I want (it does not handle sharpish changes in direction well and it doesn't give me access to the mesh's UV coordinates)