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"

Custom Crouching Implementation

Hey guys! So, right now I am trying to implement my own custom crouching functionality. I am making my game in third person, so keep that in mind. First off, I am using c++ actually, but I often prototype my functionality in blueprint before I translate my logic to c++, that is why I posted it here. Don't worry about the Crouch function, it just toggles "PlayerIsCrouched" from true to false and vice versa. Here is the blueprint:

alt text

And here is the timeline:

alt text

My only issue is : since this is Third Person, my character performs the crouch animation fine (I have that functionality setup in my animation blueprint so don't worry about that), HOWEVER, it seems that my character's mesh is like sinking though the floor. Any solutions?

Product Version: Not Selected
Tags:
crouchmain.png (158.9 kB)
crouchtimeline.png (41.5 kB)
more ▼

asked Aug 07 '17 at 12:40 AM in Blueprint Scripting

avatar image

nerdares
6 1 4 7

avatar image nerdares Aug 07 '17 at 11:20 PM

bump for this

avatar image script526 Jan 12 '19 at 09:59 AM

You still need the answer?

avatar image staticvoidlol Jan 12 '19 at 10:14 AM

There are a few things to take into consideration before being able to answer this:

  • Where is your character mesh's origin point? Usually around the hips but can be at the feet.

  • Whether your collision component will decrease in size when crouched?

  • Whether your crouch animation actually moves the character down (comparable to root motion) or whether it contracts to its origin at the hips

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

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