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"

How do I have my character rotate with my manned turret?

I have a turret set up which can be possessed by a player. I'm having trouble figuring out how to make the player rotate with the turret as it rotates. My goal is to have the player grab the handles and make it look like the player is turning the turret.

How would I make the player rotate with the turret so that the player always stays behind it?

Product Version: UE 4.10
Tags:
more ▼

asked Feb 03 '16 at 03:18 PM in Blueprint Scripting

avatar image

USB_Connector
15 1 2 5

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

1 answer: sort voted first

After you posses your new pawn (in this case the turret), take old pawn and use the 'AttachActorToActor' node in blueprints. If you want to set a position for the actor to sit, first teleport the old pawn to that position, and then use the 'AttachActorToActor' node (with the option 'Keep World Position'). If you are looking for a smooth transition with animations and have an animation to work with (of the pawn crawling into the turret), you can VinterpTo to the desired seat location first before establishing the attachment.

more ▼

answered Feb 03 '16 at 04:32 PM

avatar image

paradoc
1.2k 49 31 86

(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