Flashlight Rotation broken

I made a flashlight using the first person blueprints
Attached the light to the FP_Gun under the FirstPersonCamera in the blueprint viewport
When I load the scene I can turn on flashlight
When the player turns the light doesn’t turn with the gun, rotation stays constant (IE is unconstrained to the gun)

I would upload a video but apparently as a “new user”(ive had this account for years now…) I cannot.

Any ideas?

Hey @Deadeyejayne! I know you’re not actually new but welcome anyways!

Can you grab some screenshots of your code where you’re attaching the flashlight?
With enough info we can get this knocked out in a jiffy!

1 Like

Its a pretty simple set up. No code. Just blueprints. The problem is this.

image

@Deadeyejayne Hm. That IS strange. Have you tried attaching it directly to the FirstPersonCamera? What happens then?

Is it possibly attached to the gun model down below?
Edit: I can see in the video it’s attached to the correct gun mesh

1 Like

I have tried attaching it to the camera, unfortunately it is the same effect. The light is there, but it will not turn with the camera.

The solution was to delete the light and replace it with another point light. No idea what the problem was.

1 Like