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"

Values are changing via screensize

I'm not even sure where to go about this problem.

The built in character movement doesn't fit my needs so I am making my own. Everything was going fine until I noticed that the height of my character's jump vary depending on the size of the screen.

I am using UE4.15.2, blueprint only.

Here are some screenshots with the nodes relevant to jumping.

The Pawn's nodes. alt text

MyMovement is the component I have made. This is where it leads alt text

Every Tick nodes alt text

Where Calculate Gravity leads to. Divided in two segments. This first one I added to check the apex of the jump, which indeed confirmed to me that the height has been varying. alt text

Which finally leads to this. alt text

I wish I could provide more information, but I am truly lost on what it could be since as far as I can see there should no relation between the screen size and my jumps.

Product Version: UE 4.15
Tags:
more ▼

asked May 22 '17 at 04:27 AM in Blueprint Scripting

avatar image

Kyxaz
3 1 2

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

1 answer: sort voted first

I glimpsed roughly over it but to me it looks like a Frame Dependance issue. In Calculate Gravity you do a couple Calculations that don´t take Delta time into account by the looks of it. And different Screensize will result in different FPS. You might want to doublecheck that Part.

more ▼

answered May 22 '17 at 05:17 AM

avatar image

Nachtmahr
7k 143 28 172

avatar image Kyxaz May 22 '17 at 05:47 PM

Thanks!

That fixed the 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