Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Flashlight Sway

I'm surprised this question hasn't been asked sooner and, if already asked, more often for me to be able to find an answer that would fit the specific question I have. I had a question about Flashlight Sway, e.i. slightly swaying a custom spotlight component (the "flashlight") attached to the First Person camera within Blueprints when you look around using the mouse, and then having the spotlight return to the center in a similar paced manner. An example of this is in First Person Shooters, the player's gun will sway left, right, up and down depending on if the player is looking around. I would like to duplicate and implement this feature using a simple spotlight component. I have attempted to figure this out on my own for the last couple hours considering i couldn't find many useful tutorials nor could I find anyone trying to ask the same question. Maybe, perhaps I haven't looked hard enough, but I figured asking this was worth the time to type. Also, thanks for any kind of answer I could learn from ^.^

Product Version: UE 4.8
more ▼

asked Aug 14 '15 at 08:40 AM in Blueprint Scripting

avatar image

1 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Donno if you got this working but you can try this and see how you get on.


flashlightsway.png (352.1 kB)
more ▼

answered Aug 15 '15 at 09:26 AM

avatar image

654 39 38 72

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question