How to fix a beam weirdly rotating and not (sometimes) not being visible in-game

(i put the category as scripting support because its the most popular and helpful category, i know its a wrong category)

so i’ve got a beam with 2 attachments (im trying to make a laser for my gun):

image

and in-studio it looks like this:

image

but in-game:

image

everytime i turn around or just look in any diff direction the laser rotates and keeps pointing at the same spot i was looking at after equipping the tool.

2 Likes

alright so one more thing, it was a raycast and the whole thing worked before and the laser dissapeared when a wall was in-front of it and stuff, now when it doesn’t rotate the raycast doesn’t work and the laser goes through walls, great.

thanks for at least looking at the topic dude, appreciate it.