- Home /
How to make procedural lightning bolts?
I'm looking for a way to create procedural lighning bolts similar to this: http://forum.unity3d.com/viewtopic.php?t=5897&start=28
Any ideas on how to achieve this? Maybe Eric5h5? ;)
Answer by qJake · Jul 18, 2010 at 02:19 PM
Have you looked at this source code, provided directly by the good people that make Unity?
http://unity3d.com/support/resources/example-projects/procedural-examples
There's a procedural example in there for a lightning-like effect - it even moves around at runtime on its own.
Eric's post said he'd release the source code on the Wiki, but it looks like he never did (I searched for lightning). If you simply wanted to ask him to release the source code, you should have done it in the forums instead of posting an entirely new question on an entirely different site. :P
hey spike, can you answer this question please? thanks. http://answers.unity3d.com/questions/15745/checking-for-last-hit-and-changing-$$anonymous$$ms
Yes I looked at that example first, but it isn't what I want. I also don't need the code, I just need a push into the right direction, like how to calculate a structure like that in the example.
A "push in the right direction" would be to look at the code, since it's provided specifically as example code. And you can't do something like this without code, so saying "I don't need the code" is not true at all, you most definitely "need the code".
@$$anonymous$$ikezNesh Please don't make requests cross-question, or directed at a specific user. Plenty of people gave you tips and ideas in the comments of your post, and some of them are so simple you could just Google them, ins$$anonymous$$d of asking a repeated, simple question here.
I never said I was going to release the lightning bolt code on the wiki...that comment was about the camera path code, which I didn't do because there were better solutions by then.
Your answer
Follow this Question
Related Questions
Procedural 2D frost VFX 0 Answers
Need help with undocumented Mathf.PerlinNoise 1 Answer
sharedMesh - what is the mesh shared with? 1 Answer
Infinite/procedural multiplayer world in Unity possible? 2 Answers
Polygon buffering/offsetting? 1 Answer