Gun Tracer not positioning itself?

Tscorpio

New member
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
 
Last edited:
Discovered that the gun tracer is working, bit the hitpoint is not being returned correctly.
Closed this question and made a new one asking about the hitpoint.
 
Top