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"

Character sliding after jumps

Hi!

I've been dealing with a long term problem which I haven't been able to solve for a month now. I have a first person character which I made from an empty character.

After I land from a jump or fall on landscape or a mesh, my character starts to slide uncontrollably, or gets stuck and I can't control it's movement.

This ONLY happens if camera is looking below it's own location on Z-axis and ALWAYS stops immediately if camera's view goes above it's own location on Z-axis.

This problem persists on a packaged version of the project, which my friends tried on their own PC's.

I have tried

  • Adding horizontal and vertical spring arms to characters camera (no effect in any way)

  • Changing friction settings between 0-5000 (higher friction makes the sliding slower, but it happens nevertheless)

  • Modifying capsule components size

  • Changing walkable floor angle and step height on movement component

  • Increasing linear and angular damping on capsule component

  • ...

It usually seems like the character "pops up", just before I gain control of it again. I made a notation on the video, when this happens. This seems to be a collision problem, because touching objects which simulate physics, can also set the character on a sliding mode, which lasts several seconds or until camera's view is lifted.

Images and a video

Characters movement input

alt text

Characters mouse input

alt text

Here's a video of the problem and image of character settings in the video.

https://youtu.be/F7hIfXQH2DE

alt text

Please ask if you need more material or the project itself. Thank you for your time!

Product Version: UE 4.14
Tags:
movementinput.jpg (79.4 kB)
mouseinput.jpg (36.5 kB)
more ▼

asked Mar 03 '17 at 01:47 PM in Using UE4

avatar image

villehappo
3 1 3 6

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

2 answers: sort voted first

Ok now it makes sense.....disable the Use Controller Rotation Pitch in the class defaults of your first person character

more ▼

answered Mar 03 '17 at 05:36 PM

avatar image

Black Phoenyx
4.2k 165 9 170

avatar image villehappo Mar 03 '17 at 09:17 PM

Yes! That solved the problem. Thank you so much <3

avatar image Black Phoenyx Mar 03 '17 at 09:45 PM

Awesome, don't forget to mark this as resolved/answered

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

Do you have friction settings setup for your materials?

more ▼

answered Mar 03 '17 at 02:06 PM

avatar image

Black Phoenyx
4.2k 165 9 170

avatar image villehappo Mar 03 '17 at 02:09 PM

Hmm. I have never seen or heard about material friction settings. Need to look in to it...

avatar image Black Phoenyx Mar 03 '17 at 02:13 PM

For any physical materials alt text

avatar image villehappo Mar 03 '17 at 02:35 PM

I set a physics material for my landscape material. It has friction set to one and restitution set to zero. It didn't make any difference.

avatar image Black Phoenyx Mar 03 '17 at 02:37 PM

I am attempting to replicate it based solely on your character setup however I am unable to....is it perhaps a collision issue? Is the ground a landscape actor or a static mesh?

avatar image villehappo Mar 03 '17 at 03:06 PM

It is a landscape actor, but this slide also happens on meshes which have auto generated collision. For example the house's floor has just a box collision and I have no problems inside the house, but those Ice blocks have an auto generated collision and problem appears.

avatar image villehappo Mar 03 '17 at 03:08 PM

I did some more testing and this problem also happens inside the house.

(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