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"

(Video link listed) How do I lock sprite rotation?

Hey there, I'm working on a paper 2d top down rpg game using sprites. I have an enemy ai set to follow the player character when they come into range, the problem is that my enemy's sprite is rotating/ flipping around trying to chase after the player. I would like the sprite to stand straight up and follow him in any direction.

Thank you for your help and here's a link to a video I made explaining the situation visually.

Thank you, Adam

Product Version: UE 4.19
more ▼

asked Aug 02 '18 at 02:25 AM in Using UE4

avatar image

6 1 2 4

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

1 answer: sort voted first

Constraints won't help, the entire actor is rotating, here is a list of things you can do:

  1. Create a material that always faces the camera.

  2. Change your AI character in to a pawn and add a floating pawn movement system and use that.(My recommendation).

Do one of those and it'll be fine.

more ▼

answered Aug 02 '18 at 03:00 AM

avatar image

16 4 9 9

(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