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"

Best practices when making actions on character?

Hi there guys, very quick background first.

I'm creating a C++ project and right now what i have succeed in doing is creating a movement component for a character that can:

1) WallSlide/WallClimb (like parkour) on Walls that the character cannot climb.

2) Ledge Grab when reaching the apex of a wall, the character will start grab the ledge and climb to the end so he can be on top of the ledge.

3) Hook Movement Implementation: you set a target point and the movement component will make the character travel to that point, triggering an event when it reaches the destination or it's interrupted by something in it's journey

So, first of all i'm not sure if the movement component was the right place to set that logic, but due that it has to do with the movement of the character, and i didn't want to use those patches (force the character to move with teleport or force move the component) because i felt it didn't take into considerations the collisions in logic.

Second, i'm right now trying to figure where and how to put the Attack actions of the character, i want the character to be able to use a primary and secondary weapons, but being able to change it (think of melee), and each weapon should have its own combo/damage.

Should making an Attack Component be the right way to implement this? how do i deal with the weapon wanting to move the character while the movement component wanting to do the same thing? It has something to do with the RootMotion that the C++ movement component mentions nearly in every movement mode?

I'm sorry for being so abstract on this question, but this design question is what really has me troubled

Best of luck for everyone Cheers

Product Version: UE 4.10
Tags:
more ▼

asked Jun 10 '16 at 08:57 PM in Using UE4

avatar image

HeavyBullets
277 12 21 33

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

0 answers: sort voted first
Be the first one to answer this question
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