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"

How to create a committed jump arc?

I am trying to create a jump mechanic similar to the original Castlevnia's committed jump arc, in a 3d side scroller. How should I either modify the jump code or create a blue print, to make a jump where the player can't change their direction mid air?

Product Version: UE 4.14
Tags:
more ▼

asked Jul 26 '17 at 08:26 PM in Blueprint Scripting

avatar image

AgentLema
11 1 1

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

1 answer: sort voted first

I think what you're looking for already exists built-in to your character. If you look in your CharacterMovement in the character blueprint, under "Character Movement: Jumping/Falling" you can change the Air Control. Setting it to 0 makes it impossible to change direction in air.

alt text

aircontrol.png (354.8 kB)
more ▼

answered Jul 26 '17 at 11:37 PM

avatar image

Jesper Wrang
41 1 3 3

avatar image AgentLema Jul 27 '17 at 12:07 AM

Thank you, it's it works perfectly.

avatar image Jesper Wrang Jul 27 '17 at 12:28 AM

No problem :)

(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