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"

Weapon Cover

Hi it's still me, Fiorenzone. Today I made my first weapon and everything is ok but then I noticed that the model of the weapon clipped through everything: walls,floor,ceiling,even npc. So I made an animation where the player pull up the weapon (like this http://www.gamepur.com/files/imagepicker/6/far_cry_3_screenshot.jpg) when he's near a wall but there's a big problem scilicet when I go near a wall the player pulls up his weapon but when I walk away from the wall he continues to play that animation. How I can fix this?

Product Version: UE 4.12
more ▼

asked Sep 14 '16 at 07:05 PM in Blueprint Scripting

avatar image

51 7 9 13

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

1 answer: sort voted first

All you have to do is to reverse the animation. Just give the animation a negative play rate on end overlap.

more ▼

answered Sep 14 '16 at 07:11 PM

avatar image

2.7k 108 36 180

avatar image Fiorenzone Sep 14 '16 at 07:29 PM

Do you mean in animation blueprint? Or in my player blueprint? Here's my player blueprint anyway

http://imgur.com/a/JlzON http://imgur.com/a/u7gK8

avatar image NoobsDeSroobs Sep 14 '16 at 07:55 PM

Dont use a line trace for this. Use a collision sphere or box. Parent the character to the sphere and then use the overlap events.

avatar image Fiorenzone Sep 15 '16 at 01:43 PM

ok I figured it out but I have a last question: how I should make the animation where the weapon is pulled up? Because If i copy the idle animation, make a montage with the copied animation and modify the pose (pulling up the arms and the weapon) all the animations change

http://imgur.com/a/xpALA idle animation before making cover animation

I copy the animation and I change the pose ONLY on the copied file http://imgur.com/mHvyL3l

This is what happen to all my animation http://imgur.com/a1zLIxq running animation http://imgur.com/mHvyL3l idle animation (equal to the cover one I made before)

Probably this is a stupid problem for you but I don't know how to edit only the animation pose I want without changing all poses and searching didn't help me.

avatar image NoobsDeSroobs Sep 15 '16 at 07:43 PM

You have to play your animation backwards to get back to your default state.

Please refer to these tutorials for more step by step examples: https://www.youtube.com/watch?v=vzGO_xToP78 https://www.youtube.com/watch?v=3NK97psTA8g&list=PLZlv_N0_O1gbggHiwNP2JBXGeD2h12tbB&index=54

(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