how can I make my flashlight move with mouse movements
Right now I have movements for pressing w, s, a, d. However I want the flashlight to move when the player moves their mouse up down left or right, how do I go about doing such a thing? Oh this is first person by the way.
Answer by EllisNguyen · Aug 28, 2015 at 04:34 AM
You can attach your Point Light to your Main Camera in your FPS_Control
I know how to do that, what I mean is delay movements, so it isn't just basically following the mouse precisely. so it has a bit of sway when I move the mouse, just a tad of delay so it looks more realistic then staying exactly on the mouse. Right now I have custom animations for how it behaves with keyboard movement, but I don't know how to do something like getkey.(mouse movement vertical up) crossfade animation (flash light animation sway up)