Line Renderer Alignment property missing.
In the Unity manual Line Renderer has Alignment property, however I don't see it in Scripting API or the inspector. Is it depreciated? I want to draw a line "flat" on the ground, not facing the camera. Alignment seemed to do just that. In what other ways can I achive this?
Answer by tonycoculuzzi · Jan 24, 2017 at 05:52 AM
I don't believe it's deprecated, because it was added as of 5.5.0. It looks like yet another case of Unity not properly exposing the property in code, which seems to be a problem with a few of their newer systems.
Ok, thanks to your answer I finally figured out where the problem is. I was still using Unity 5.4. After updating to 5.5. Line Renderer Alignment is visible in the inspector.
Answer by hexagonius · Dec 18, 2016 at 09:20 PM
since Unity 5.5 at least it's billboard only:
https://docs.unity3d.com/Manual/class-LineRenderer.html
It renders billboard lines (polygons that always face the camera) that have a width in world units and can be textured
Your answer
Follow this Question
Related Questions
A dashed line as trail 1 Answer
Rotate Vector3 Manually? 3 Answers
VFX Particles doesnt appear 0 Answers
Particle Effect for Melee Attack 0 Answers
Render VFX Graph Output Mesh Particle on both sides 0 Answers