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 make movable object push a player pawn?

I'm working currently on building a room with two movable walls, that crush everything inside. The problem is, If player's pawn is standing, the walls are moving him in a series of short "jumps", instead of pushing him smoothly. The pawn and the wall are overlapping each other, and after a short while, pawn is moved instantly to the fornt of the wall. Then, wall again overlaps my character, and pawn is moved, then they overlap, pawn is moved, etc. However, if the pawn is in move, pushing is smooth and consistent. Is there any way to make it happen more smoothly, just like the meshes simulating physics are pushed by moving objects?

Product Version: UE 4.10
Tags:
more ▼

asked Sep 19 '16 at 05:02 PM in Using UE4

avatar image

40i4
1 1 3 6

avatar image Roel Sep 19 '16 at 05:22 PM

Are your walls using "AddForce" to move? Because if they do I think they should add force to a character pawn as well.

If you move it using the transform it is not going to work so well, since the physics engine does not know about the velocity of the object.

avatar image 40i4 Sep 20 '16 at 03:05 PM

No, I used Timelines. Could you explain how to use "AddForce" in order to make movable wall? I was always doing it with Timelines or Matinees. Thanks in advance :)

(comments are locked)
10|2000 characters needed characters left

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