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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

VR: Enemies won't aim at player

Hi all, I have a VR shooter for my university project and we've started to fine tune our enemies. The problem however is that they arent facing the player when they shoot. alt text The blueprint is quite simple as all they need to do is aim at the player and shoot but they just wont aim correctly on the Y Axis. Has anyone else had this issue and if you have can you please help? Many Thanks alt text

Product Version: UE 4.18
enemyaimoff.png (1.4 MB)
enemyaimbp.png (129.9 kB)
more ▼

asked Feb 12 '18 at 04:25 PM in VR

avatar image

1 2 2

avatar image BladeMaster Feb 16 '18 at 07:26 PM

You are setting the world rotation of the arrow component. You should set world rotation of the capsule component. (Change the input in SetWorldRotation node from arrow to capsule component of your AI character)

avatar image BenLong1995 Feb 19 '18 at 01:04 PM

When I set the capsule to rotate it will only rotate the capsule, he just aims down the axis its facing. When the arrow is on the capsule it will rotate to face the player find on the Z axis but he still aims above the player on the Y axis

(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