x

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"

mouse aiming momentum

hey people.

this should be really simple but i cant find an exact answer anywhere

i want to add just a hint of momentum to my fps mouse movement. ive added a spring arm which delays the weapon following the camera but the crosshair is tight at a drum to the mouse movement and needs softening a bit.

unless im being an idiot and the answer is a second spring arm on the camera itself and not mesh2p

Product Version: UE 4.15
Tags:
more ▼

asked Mar 15 '17 at 09:10 AM in Blueprint Scripting

avatar image

phaeton1911
11 3 8 13

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Don't use a sprint arm, use interp to instead. Try this: https://www.youtube.com/watch?v=QPms7QwNdcg

more ▼

answered Mar 15 '17 at 01:12 PM

avatar image

lSindra
91 2 3 3

avatar image phaeton1911 Mar 17 '17 at 12:29 PM

we're half way there. i followed the tutorial and it works fine for his 2d game example but it locks the up down axis of the camera. probably to do with the fact that hes spawning a new camera whereas the controls are still attached to the old one. ive tried setting use pawn rotation control but no luck.

avatar image lSindra Mar 17 '17 at 02:17 PM

There is no need to create another camera, just the the camera component on the up left corner of the player blueprint and use that instead. You should be getting the current Camera rotation and using a interpto with the camera rotation you want, get delta time in seconds and play with the speed.

Hope im clear enough, i don`t really have access to my PC right now, have a good day :)

(comments are locked)
10|2000 characters needed characters left
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