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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Change jump force in code

I created my own custom Game Mode and Character using this tutorial: https://wiki.unrealengine.com/First_Person_Shooter_C%2B%2B_Tutorial And I wanted a way of changing the jump force/height in c++ code.

Product Version: UE 4.11
Tags:
more ▼

asked May 07 '16 at 10:59 PM in C++ Programming

avatar image

ajsmith595
5 3 5 6

avatar image Eduardo Bedoya May 07 '16 at 11:59 PM

Play with the GetCharactetMovement()->Velocity.Z variable and see what happens

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

4 answers: sort voted first

Play with the GetCharacterMovement()->Velocity.Z variable. Is just an idea, i havent done it that yet

more ▼

answered May 07 '16 at 11:57 PM

avatar image

Eduardo Bedoya
30 3 4 5

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

Play with the GetCharactetMovement()->Velocity.Z variable and see what happens

more ▼

answered May 08 '16 at 12:00 AM

avatar image

Eduardo Bedoya
30 3 4 5

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

OR you could go to the character movement component and adjust jump height

more ▼

answered May 08 '16 at 06:40 AM

avatar image

ravio
78 9 6 13

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

OR you could go to the character movement component and adjust jump height

more ▼

answered May 08 '16 at 06:40 AM

avatar image

ravio
78 9 6 13

(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