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"

Walkable floor angle of a paper character is not working, please help.

Hello everyone. I'm making a 2D game using paper sprites in UE4.10. My goal for today was to make some army tanks move up a hill. My problem is that the tanks keep getting stuck on the smallest of angles, even though I have the Walkable Floor Angle component set to 90.

Here are some pictures to explain what's going on. The tank is a 2D paper character, since there is no 2D vehicle class. alt text

The capsule component has collision enabled, but the sprite does not, since its shape is so much wider than the capsule.

alt text

These are the settings in the tank's Character Movement component. They are similar to my player character's settings, only the tank has the max possible walkable angle. My player character isn't having any of these problems, it can walk over slopes just fine.

alt text

This is how I'm moving the tank. A 30-second timeline adds movement input, it seems to work right up until the tank hits an angle. Also, if the tank is on a slope, it just slides all the way down. Not sure if that's relevant to this.

alt text

This is the angle that the tank gets stuck on. It's a tiny angle, but every time the capsule (not the sprite) hits it, it just stops moving! As I mentioned earlier, I had this working earlier today. But I tried resizing the tank and the ground sprites, and that broke it. Now I can't get it to work again, even by setting it back to its original size. Any help on this would be greatly appreciated! Thank you.

Product Version: UE 4.10
Tags:
tank.png (79.2 kB)
angle.png (155.6 kB)
more ▼

asked Apr 14 '16 at 06:47 AM in Blueprint Scripting

avatar image

Rhiannonnee
18 4 11 15

avatar image keyle Apr 14 '16 at 07:35 AM

Hi there, what's your collision like on your tank?

Also when you play, open the console (character ~) and type show collision to see if that doesn't look weird.

(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