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"

My AI is acting weird

Hiya, somewhat of a novice so bear with me please if there are some parts I do not understand. So, I essentially followed an old tutorial by Matthew Palaje alt textone creating basic enemies in UE4, most of which shoot projectiles. I followed it along and created one which shoots projectiles and everything seemed fine, apart from how it fired. Instead of firing in front of it, it fires to the side but somehow still manages to damage and kill the player character, sometimes with a few shots and sometimes with just one shot. I have attached a screenshot of the blueprint I made (which seems exactly the same as the blueprint in the tutorial and a link to a video of my AI doing what has been explained. Any help would be greatly appreciated.

https://youtu.be/vAwSMngXlK0

Thank you in advance! :)

Product Version: UE 4.19
Tags:
ai-problem.png (252.4 kB)
more ▼

asked Apr 15 '19 at 06:41 PM in Blueprint Scripting

avatar image

zestyparsnip
1

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

1 answer: sort voted first

it looks to me like your projectile spawn location's rotation is off by 90. thats the first thing i would look into.

more ▼

answered Apr 15 '19 at 09:51 PM

avatar image

ThompsonN13
10k 33 8 23

(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