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"

Is there a way to set collision for 2D Top Down to the sprite's collision instead of the collision capsule?

I'm having an issue where my Character is colliding with the wall and then clipping or snapping down. I'm not exactly sure what's causing it, but I have an example as to what it's doing: https://youtu.be/yqdIzojuafI It appears to only happen in the top corners and not along the sides or the bottom corners. I was following this tutorial: https://www.youtube.com/watch?v=nmHtwWbpuk4&t=12s I eventually did the whole project again, but still the same results. My code is the exact same, it's just my character and tiles are not. The character has its own sprite collisions and the tiles are basic square tiles. I have my Collision Radius set to 20 by 20, and the tiles are 32 by 32.

I haven't figured a work around this either, there is unfortunately so little to go off on for top down 2Ds in Unreal. :/

Product Version: UE 4.17
more ▼

asked Jan 25 '18 at 08:43 PM in Using UE4

avatar image

11 1

avatar image AuraOfTheQ Jan 25 '18 at 08:54 PM

I decided to flip the table. (Literally) I just flipped the tile map and character to be set to xy rather than xz where the character was set to Y constraint. I set the character to Z constraint and I guess it works that way. Even with gravity turned off, I suppose it was still a little finicky.

avatar image Shinobi_Fox Jun 18 '18 at 11:27 AM

Just wanted to say that I was having this problem and was using the same tutorial to build a top down game, and after several days of trying to fix it, I found this and it worked! Thank you so much!

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

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