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"

Strange Physics interaction with player.

I have a problem with my Physics assets in game. They seem to interact really strangely with the player. My Player weighs almost nothing, and the Objects weigh thousands of KGs, yet merely standing on them or jumping into them causes them to freak out.

Video: https://www.youtube.com/watch?v=dZ7hYcuYM24&feature=youtu.be

They don't have this issue with each other, it's when the player touches them.

They all have Rotation constraints and X location constraints so they don't break away from the 2D gameplay. The floating ones are held in place by force, acting as objects with 0 gravity and having the "Add force at location node" to re-orient themselves.

Any guesses on what could cause this issue and how to fix this?

Product Version: UE 4.19
more ▼

asked Feb 01 '19 at 03:02 PM in Blueprint Scripting

avatar image

168 8 15 19

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

1 answer: sort voted first

Mass won't work when interacting with the Character, as it is not simulating physics, but uses a custom logic. In CharacterMovementComponent you can set the PushForceFactor (alongside with many other attributes) which control how interacting with physics bodies work.

more ▼

answered Feb 01 '19 at 05:38 PM

avatar image

1.2k 4 5 7

avatar image Raxs_Slayer Feb 01 '19 at 05:49 PM

I looked into it and it doesn't seem to affect anything. I set everything to 0 and I still have the same issues. Do you think it's possible that the platforms are trying to inherit movement from the player when they are touching? Touching them while falling seems to yank them down. if that's the case, do you know if it's possible to turn off?

avatar image KristofMorva Feb 01 '19 at 05:56 PM

Have you tried just to untick Physics Interactions entirely?

avatar image Raxs_Slayer Feb 01 '19 at 06:38 PM

I did, yes. It doesn't seem to have changed anything, unfortunately. Walking into the assets or bumping into them doesn't really have an effect on them anymore, but the still freak out when I gain purchase on them.

(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