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"

Healthbar facing at a locked position

Hi,

I am trying to make my enemy ai healthbar be constantly facing a certain point inside my level.

Currently I have it setup so it constantly faces the player pawn and i was wondering if there is a way to set it up so the find look at rotation target is an actor inside my level

here is my blueprint so far that locks onto the player pawn. alt text

Sorry im still learning blueprints so if anymore information is needed then i will gladly provide it.!

Thanks for your efforts in advance :)

Product Version: UE 4.14
Tags:
hp lock.png (146.0 kB)
more ▼

asked Feb 14 '17 at 04:01 PM in Blueprint Scripting

avatar image

KebabCritic
60 17 16 17

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

1 answer: sort voted first

Hi. If you want the health bar to be faced your view... just attach a reference of YOUR character to the get player pawn.alt text

and it should be perfect or a reference of the actor that you want to see the health bar

widget.png (98.7 kB)
more ▼

answered Feb 14 '17 at 04:24 PM

avatar image

Denis Lambert
310 4 4 8

avatar image KebabCritic Feb 14 '17 at 05:17 PM

I am making a VR game so instead of the widget facing the character i would want it to face a certain blueprint actor that i have put in the level if that makes any sense?

avatar image Denis Lambert Feb 14 '17 at 06:10 PM

So, put the reference of the proper actor to tell him where to look! Or put nothing if you dont want the widget moving or rotate on himself.

(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