I have made an Line Rendering object and attached the Tracer script to it.
I saved it as a prefab and used it in the "Tracer" field on the weapons shootable component.
Finally I assigned the transform of the tracer to the be same position as the muzzle flash.
The problem is the at runtime the tracer doesn't point in the direction that it should. It's always 90 degrees off but rotating the transform doesn't effect it.
Did I miss something in the setup?
Thanks
I saved it as a prefab and used it in the "Tracer" field on the weapons shootable component.
Finally I assigned the transform of the tracer to the be same position as the muzzle flash.
The problem is the at runtime the tracer doesn't point in the direction that it should. It's always 90 degrees off but rotating the transform doesn't effect it.
Did I miss something in the setup?
Thanks
Last edited: