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"

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. 

Set Focus on Rotation and not an Actor

I've been searching high and low for a solution for my problem. I need to set the rotation of the Aim offset for a character. I know that you can set the focus which will with make the character point at any given actor. BUT. I'm not trying to point at an actor because the character in question is a ghost of the player repeating the exact movement and aim as the player. It works for the player exactly how i want but when i replicate it on an NPC. It doesn't work. The closest ive got rotates the whole npc, legs included. This is what I have for the player but it doesn't work for NPC's.

alt text

Product Version: UE 4.12
Tags:
temp.jpg (34.9 kB)
more ▼

asked Nov 18 '16 at 08:45 PM in Blueprint Scripting

avatar image

Djekko
14 8 10 10

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

1 answer: sort voted first

You have to apply the rotation to the part that will rotate. You are applying the rotation to everything. Just apply the rotation to the correct child component and you are good to go.

HTH

more ▼

answered Nov 18 '16 at 09:09 PM

avatar image

NoobsDeSroobs
2.7k 106 35 179

avatar image Djekko Nov 19 '16 at 10:11 AM

Thanks ill try it now and see how it goes and let you know

avatar image Djekko Nov 19 '16 at 10:24 AM

Which Child component are you specifically talking about adding the rotation to? Everything i can think of either moves the whole mesh or nothing at all

avatar image NoobsDeSroobs Nov 19 '16 at 04:43 PM

Depends on how your system is set up. I cant know without you showing me.

avatar image Djekko Nov 21 '16 at 08:32 AM

I've changed the way that I've approached it now as there was a lot of problems with playing the animation anyway, thanks for trying to help me though and sorry for wasting your time.

(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