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"

Keep Animal Legs From Clipping Walls

Hello, Does anyone know how to keep animal legs from clipping into walls?

alt text

Product Version: UE 4.21
Tags:
clipping.jpg (35.4 kB)
more ▼

asked Dec 15 '18 at 02:17 PM in Blueprint Scripting

avatar image

JohnADaniels
55 4 5 7

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

2 answers: sort voted first

if you're using the character blueprint then you can change the width of the capsule component. you may find the capsule is too tall to pass under stuff, if so you can look into using a pawn and then making your own movement.

more ▼

answered Dec 15 '18 at 10:56 PM

avatar image

IndieGameCove
508 3 3 10

avatar image JohnADaniels Dec 16 '18 at 03:51 PM

Thank you for the reply, after a lot of research it looks like the character BP is just for humanoids and anything else you will have to create your own custom one using a paw like you said. It would be nice if Epic also made a animal character BP.

avatar image aNorthStar Dec 17 '18 at 12:56 AM

IndieGameCove is right... BUT there MIGHT be another option though... look at using your Character component and the capsule for movement of the core body, and blending some physics animation to the limbs... so they respond when they encounter something

https://www.youtube.com/watch?v=N1tDjbFXeOo&t=2227s

avatar image JohnADaniels Dec 17 '18 at 05:36 PM

That is true, I had made a video about how to do that with your gun, I guess that would work for legs as well.

https://www.youtube.com/watch?v=iyG0u98N4u4&t=41s

avatar image aNorthStar Dec 18 '18 at 12:37 AM

yes, it MIGHT work, though it would require careful set up to look absolutely right... because instead of the legs PENETRATING the walls... they'd be folding AWAY from the walls, and yet still moving (depending on your animation/physics blend strength)

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

Here is a video a guy made about this exact same thing that might help others. https://www.youtube.com/watch?v=8uwQomoeEOk&feature=youtu.be

more ▼

answered Dec 18 '18 at 05:26 PM

avatar image

JohnADaniels
55 4 5 7

(comments are locked)
10|2000 characters needed characters left
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