- Home /
Question by
Nick4 · Jul 10, 2014 at 06:43 PM ·
linerenderercurve
How to create curvy linerenderers?
Is it even possible to make a linerenderer curvy? I think I'll have to deal with Mathf.Sin functions but I don't know where to start.
Comment
Answer by Tehnique · Jul 10, 2014 at 06:57 PM
I think this can be achieved with splines or DrawBezier. You could also check this prefab.
That's an editor thing and not something I asked for. I want it to be curvable at runtime.
look into the sample assets by Unity on asset store. In car prefab, there is a trail renderer to simulate the burnout trail for car tyres. It is super curvy. $$anonymous$$ight be able to help you out. :)
Your answer
Follow this Question
Related Questions
Bezier curver using LineRenderer 0 Answers
3D Space Gun Pulse Laser Graphics 2 Answers
How to Add Collider to Line Renderer? 0 Answers