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"

Create Axe playmode

Hey can anyone tell me how to create a playmode for axe?

i mean, that you have an axe in your hands and when you press Left mouse button, the player swings the axe. And if the player is near enough to a tree, it gets damage and after a few chops, it will fall down.

Can anyone help me? PLS

Product Version: UE 4.10
more ▼

asked Jul 06 '16 at 02:31 PM in Blueprint Scripting

avatar image

6 3 8 12

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

1 answer: sort voted first

First of all lets start with animation, there lots of programs that can create animation maya 3dmax blender(free). You will need an mesh of hand or whole body (depends of the game you make), you will it to have a skeleton and another bone lets call it Handle bone near his hand where he will hold the axe. From here you will need to create animation check tutorials online if needed, of the mesh swings his axe (the axe should not be in the animation, but the Handle bone should follow the hand with offset parent relationship), after that you need the axe mesh as well no animation needed for the axe (if its not alive or anything). After that you will need to create an animation bp here is a tutorial that goes in steps what to do, https://www.youtube.com/watch?v=hRO82u1phyw&index=1&list=PLfQ3pODBwOcaV1TdnqNWLTJ4wiUzEvXis great the tutorial have most of the thing you need.

Now that we are done with the animation, and lets say that you know how to play the animation from the tutorial and know how to handle it we will work on the tree getting cut down. Lets say you are using the First person BP template you will need to do a raycast from the character at the left mouse click button(should be called shoot or action button) (it should be already in the blueprint but if its not check Google). Now you break the hit result and drag the hit actor from the break, and cast it to a tree, form there you should make the tree 1.Or take damage and then break apart or 2.Break apart in one hit.

Hmm I guess I got to the most of the important points GOOD LUCK!

more ▼

answered Jul 06 '16 at 04:14 PM

avatar image

473 21 10 25

(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