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"

How can I make my character jump from a crouch?

Hello, Friends!

I actually have two questions revolving around my crouch action.. I can create separate questions if needed.

Background: I am using the Blueprint First Person template and have successfully created the crouch/uncrouch action. Right now it is very basic. InputAction"Crouch" pressed goes to function: crouched and InputAction"Crouch" released goes to function: uncrouch...in the defaults "can crouch" is true. Testing this allows me to crouch while stationary and also while walking.

The problem comes when I try to jump while in the crouch position; stationary or moving.

I realize that you technically cannot (in real life) jump from a crouched position because in order to jump your legs must be extended.

So the way I see this working is to have the character return to standing height and then perform the jump action. Would this be the best practice? or should I add another action for crouch jump to use both left shift + spacebar? kinda lost on where to go..

and my second question is there an easy way to slow down the position change from standing to crouched?

Thanks a googol!


Product Version: Not Selected
more ▼

asked Apr 03 '14 at 04:19 PM in Blueprint Scripting

avatar image

205 13 25 27

avatar image HungryBird Aug 14 '14 at 05:11 AM

same,and did you make it successfully? please tell me

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

1 answer: sort voted first

Hello MdMoberly.

Firstly: The method that would make sense the most would be to return the character to standing by using - Function UnCrouch and then call - Function Jump

Secondly: There is no built in way to smoothly transition the character from standing to crouching nor vice versa. You can however create your own 'custom' crouching, in which you, when - Input Crouch you use a timeline to both smoothly change the player's collider to a smaller size, and to move the camera downwards so that it is still within the collider. Then you change the walk speed to a smaller one, or multiply it by the in built crouch speed multiplier value. When uncrouching, you just play the timeline in reverse to change the camera's position and the collider size, and then multiply the player's walk speed by 1 / crouch speed multiplier if you used that, or else just set it to whatever speed you want.

Hope this helps :)

more ▼

answered Jun 01 '14 at 09:41 AM

avatar image

Oscar Cooke-Abbott
542 54 59 73

(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