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"

Physics interactions between pawn and physics object depend a lot on frame rate


I'm making a game in which pawns play with a ball that has physics enabled. Both character movement and physics objects are constrained in a 2D plane, with a bit of angular and linear damping.

The problem is : when running at 30 fps, when a pawn runs into the ball, it launches at a crazy speed, when the same movement at 120 fps is pretty much what I was expecting.

I have enabled Physics sub-stepping, with what I consider being a lot of substepping if I understood it right, but with little success: the ball is still running wild at 30fps when 120 is very smooth and 60 is okay.

Here are the settings for the ball

Ball physics settings

Here are the settings for the pawn (the constraints on the pawn are set in C++, but the plane is the same)

alt text

And the sub-steping parameters

alt text

Any idea of what's happening here? Any help would be appreciated!

EDIT : it seems the substepping did help from the moment I packaged the game for Windows, but if there was a difference in the editor, it was not obvious. I'll mark this question as answered as soon as I test this on another physics elements that I use, but which is in blueprint for the moment and can't yet use substepping.

Product Version: UE 4.11 Preview
ballphysics.png (45.6 kB)
pawnphysics.png (42.9 kB)
substepping.png (19.1 kB)
more ▼

asked Mar 21 '16 at 05:44 PM in Everything Else

avatar image

John Tiesselune
1 1 2

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

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