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"

Player Gets Stuck at Collisions

Most of the time when my first person character collides an object in my level, it gets stuck and even jumping gets disabled. What can be the reason?

Product Version: UE 4.10
Tags:
more ▼

asked Dec 22 '15 at 10:43 AM in Using UE4

avatar image

tongucci
54 16 24 27

avatar image tongucci Nov 05 '17 at 10:33 PM

I know this is an old post and I have made several projects since then. Now I am using Unreal 4.17 and still (in my new project) when the player (with capsule collision) gets blocked by other objects with capsule collision, there's about 20% chance of being stuck. When being stuck I cannot walk or jump. Simply cannot change my location. Am I the only one having this issue?

avatar image AAriyAA Feb 25 '19 at 05:31 PM

did you find a solution for it? i have the kinda same problem. I have a ship ( and it stuck to most objects).

avatar image tongucci Feb 26 '19 at 04:14 PM

No, still the same. But as a workaround you can remove the collision of what the player gets stuck, and replace it with invisible wall boxes.

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

3 answers: sort voted first

Hi tongucci,

Can you post some more information such as screen shots or a video demonstrating your issue?

I'll also need to know what your character setup looks like. Are you using the template characters or a custom one? Is this only happening in a level with your own created geometry, or does it happen in the basic default level with only the floor mesh as well?

Thank you!

Tim

more ▼

answered Dec 22 '15 at 03:51 PM

avatar image

Tim Hobson ♦♦ STAFF
48.9k 887 101 877

avatar image tongucci Dec 22 '15 at 04:30 PM

Hi Tim,

For this case, it is between two objects but most of the time only one object is enough to make the character stuck. I can throw ball and look around but can not jump or walk to any direction. And not just one type of mesh prevents moving but almost all of them in my level.

As you can see here, my first person character is the default one. Only difference is that I use it as not visible.

avatar image Tim Hobson ♦♦ STAFF Dec 22 '15 at 05:16 PM

What does the collision look like on the fence? Try possibly simplifying the collision for the moment down to just a single box and see if that resolves the issue you're seeing. Depending on how your collision is setup for the mesh using a couple of collision hulls may help instead.

While in-game as well you can use the console command PXVis Collision this will show you the collision hulls for any mesh.

avatar image tongucci Dec 22 '15 at 06:08 PM

Even a mesh with a collision as simple as this can make my character get stuck. (The axe is placed as it's sticked on the ground.)

While in game the console key does not work. How can I open console?

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

it already happened to me, it is like the capsule component going inside the floor and geting stuck, try to move the mesh down, so the capsule component stay higher (you have to move the mesh, because the capsule you can´t move)

hope it helps you!

more ▼

answered Dec 22 '15 at 05:15 PM

avatar image

FilipeTessaro
1.4k 54 19 60

avatar image tongucci Dec 22 '15 at 06:09 PM

I have dragged my mesh as low as this but still didn't work.

avatar image FilipeTessaro Dec 22 '15 at 06:16 PM

sorry, it is a different bug, indeed. Does It happens to all first person project that you create? or only in this single project? Maybe recreating it and just migrating what is important may solve the problem...

avatar image tongucci Dec 22 '15 at 06:22 PM

I had migrated my level to a new project two days ago. This bug still exists. Also I just found out that my navagentradius was over 100 (I don't know how it happened.) so I took it back to default but it didn't solve either.

avatar image FilipeTessaro Dec 22 '15 at 06:29 PM

ok, and a fresh new project does it too? If so... maybe you should re-install the engine, or download another version and test. Sorry for not being able to really help you, good luck

avatar image tongucci Dec 22 '15 at 07:03 PM

Fresh new project does not have that bug. Something is wrong with my project but I don't know how to find it out.

avatar image FilipeTessaro Dec 22 '15 at 07:08 PM

when a bug happened to my project one day, it was something at the meshes and animations, don´t remember, but I didn´t migrate, I create a new project, copied and pasted the blueprints, migrated only the usefull meshes and props that I was using, etc.

It solved to me that bug. I mean, you have to "clean" your project somehow

avatar image tongucci Dec 22 '15 at 07:11 PM

I had migrated my level to a new project so all the useful assets and nothing else were copied.

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

I have this problem and able to fix it thist mornig.(don't know if it can fix in your case)

I accidently set some of these values to zero in the past. When I reset it to default my character not stuck in the static object anymore. But I need to test with my other scene to confirm.

alt text

capture.png (36.0 kB)
more ▼

answered Apr 07 '18 at 11:35 PM

avatar image

simonjames247
1 2 1

(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