I have a part that is placed inside of a generated gun that produces a loot beam. The gun is unanchored, so when it is generated it will fall over. Wondering how I would go about making it so that the loot beam is always pointed up, even when the gun has fallen over.
Loot beam on a gun that has fallen over:
Desired effect:
EDIT: Here is what the beam part looks like if that helps any
Tried looking at different topics on this but all of them seem to be about aiming the part at the player.
The Y-axis is always pointing up in world space (unless you change the world rotations), so you just have to tell the part to look at a point super high in the sky…