I am busy creating a 2d platformer based on the 2d platformer tutorial series by Brackey’s (BIG thank you!).
I am using a line renderer on a FlameTrail prefab to create the “shooting” effect from the Player weapon to the mousePoint. Pretty much exactly as Brackeys does in the tutorial.
Everything works as it should and is accurate until the Player jumps up to higher platforms in the same scene/ level. Then the flameTrail goes awry and seems to shoot off in random directions and not to the mousePoint position.
I have no idea why this is happening and have encountered no such problems on other forums or Unity manual. Please help.
I am a beginner so if the answer is something simple that I am missing then I apologize!