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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to add smooth gun rotation when looking around. Like you see in cod 4, if you aim and look left the gun tilts/rotates to the left. How can i add a simple system for this in a blueprint.

alt text

Product Version: UE 4.11
Tags:
maxresdefault.jpg (253.3 kB)
more ▼

asked May 02 '16 at 09:22 PM in Using UE4

avatar image

Unrealkid 123
8 1 3 4

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

1 answer: sort voted first

that is done by aim offset. but you must have some animations (AimSpace Animation) if you have not ever read about aim offset there are some good tutorials for it. here is a video link text

and this is epic documentation about aim offset link text

more ▼

answered May 02 '16 at 11:18 PM

avatar image

saeedc
2.4k 72 41 107

avatar image saeedc May 02 '16 at 11:22 PM

this is the main page of the second link I sent link text

avatar image VictorBurgos May 03 '16 at 01:53 PM

Damn, you beat me to it. +1 !

avatar image Unrealkid 123 May 05 '16 at 09:29 AM

Thanks very helpful :)

avatar image Unrealkid 123 May 05 '16 at 09:35 AM

These totoreals were very helpful, but i don't think they can help me achieve what i want.

avatar image Unrealkid 123 May 05 '16 at 09:38 AM

It's an fps so i don't need to blend the weapon with the body cause i can't see my body. I want to the weapon to smoothly tilt towards the direction that the player is looking.

avatar image Unrealkid 123 May 05 '16 at 09:39 AM

If i can achieve this with aim offset could someone show me that?

avatar image saeedc May 05 '16 at 11:11 AM

if you implement the same as those tutorial in a third person game yourself. you will probably understand how aim offset can help you achieve what you are looking for. those smooth weapon movements toward the aim direction are only animations*(aim space animations) nothing else. in fps you also need to blend weapon with body (player arms)*. so the concepts are the same.

ask your new question separately in a new one so people can see and help you.

and take a look at this link text

the smooth weapon movement in this video is implemented by an aim offset and aim space animation. imagine how it would look like if the camera were closer to the weapon.

avatar image saeedc May 05 '16 at 11:19 AM

when you implement an aim offset you will see that weapon moves a little sooner that camera toward aim direction and that's why you feel smooth movement toward aim direction

avatar image saeedc May 05 '16 at 11:21 AM

I suggest you implement an aim offset first then judge

avatar image Unrealkid 123 May 05 '16 at 06:50 PM

Thanks for the help

(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